scripting

  1. P

    Windows 10 Compression of Tree Folder directory

    Tree Folder directory I am not a programmer nor I know about programming, so far. The directory tree is as follows: work/documents/Client_01/year 2018/January/PO_0001/ work/documents/Client_01/year 2018/February/PO_0002/ work/documents/Client_01/year 2018/December/PO_0092/...
  2. G

    Windows 10 Renaming video file properties according to file name

    Hi and thanks for looking at my post. I have no experience whatsoever about automating tasks in Windows but I have a huge task at hand currently and so I feel automating it is the only solution. Here is what I am trying to do: I have a huge collection of movie files on my NAS (Z:\Movies). Each...
  3. U

    Windows 10 Robocopy kopiert bei /XD nur das angegebene Hauptverzeichnis

    Hallo Gemeinde! Beim Backup mit Robocopy mit der Befehlszeile net use x: \\backup-pc\d\xxxx /user:admin xxxx robocopy c: x:\c /R:1 /w:1 /Mir /xj /XD "c:\Windows" "c:\$Recycle.bin" wird nur das Hauptverzeichnis "Windows" ausgeschlossen. Die Unterverzeichnisse werden jedoch kopiert. Alle weiteren...
  4. Windows 10 Random time delay between two batch commands

    Hello, I have a batch script and i would like to put random delay / wait time in minutes to run second command. example : run first command here random wait between 5 to 30 minutes run second command here Thank You
  5. Windows 10 Powershell code to copy files into a specific folder

    I am just trying to copy the AVI files from a source folder into the corresponding destination folder based on the folder names. For example, the multiple AVI files under Folder C should be copied into Folder xx based on the name"10Q_2P". I guess the trick here would be the name folders...
  6. Windows 10 Powershell

    Let's script Sent from my SM-A102U using Tapatalk
  7. P

    Windows 7 How to list all shares? How to cmdline remove GRANT for everyone ?

    To create a folder share and grant full permissions to user karl I can write on cmdline: net share "myshare123"="D:\tool" /GRANT:karl,FULL ok, it works. But what about the other way: Is there a way to generate all the full "net share" commands for ALL currently existing folder shares? I...
  8. Windows 10 How to copy files into corresponding folders?

    I have a list of csv files that have to be copy into a list of folders with same names. Rather than manually cutting each one into the corresponding folder, is there a trick of doing this in windows?
  9. M

    Windows 10 How to recursively remove all PRG and P00 file extensions? E.g. in batch

    Hello! I need to recursively to remove all extensions PRG and P00 on single partition. I know that recursively can work XCOPY, but renaming is other task. How to create batch to remove all these extensions of files and folders (if exist) recursively? Thank you for each help, suggestion or...
  10. P

    Windows 7 How to execute Powershell command from CommandPrompt? One line!

    I want to execute a PowerShell command from Command Prompt. This should be done by entering ONE command! I DO NOT want to start PowerShell first and then enter the PowerShell command. Instead I want to enter something like powershell.exe -command "......." How does that work in detail on...
  11. M

    Windows 10 Rename numerous jpg files

    So I have a lot of pictures (jpg files) I need to rename. 001.jpg all the way up to 621.jpg. I have different pictures with the same numbers. Is there an easy way just to rename them, like put an I in front? Like I001.jpg all the way up to I621.jpg Appreciate all the help Mike
  12. R

    Windows 10 Help with creating BAT to install AutoWorkplace and Join

    Hi guys, Our company’s environment consists of mostly Win10 machines but we still have some lingering Win7 boxes. Our email is hosted by Office 365 and I’ve recently hopped onto the Azure Active Directory wagon to get our environment more secure. Off the bat I was having troubles adding our...
  13. Windows 7 Windows cmd

    Tutorials to learn cmd Sent from my LLD-L31 using Windows Forums mobile app
  14. P

    Windows 10 Batch: Concatenate and append contents of a file to a new file.

    One folder has many files that all contain some notes for a particular name. The names are already in a txt document one line after another that I plan to edit into a batch program. Tabbed over from the names is the filename that contains the info needing to be appended. Example: {Larry)...
  15. M

    Windows 10 permission archive in powershell

    what permission archive in powershell?
  16. S

    Windows 10 script for Win+p

    Hi guys, first of all: happy easter! I am new here and i am not quite sure if it's the right sub. sorry if not. I need help for a little script. I want a .bat or .vbs that does the same as "Win+p" => "second screen only". And for sure a 2nd script for => "Win+p" => extend. Is that even...
  17. M

    Windows 10 Find and replace TEXT with FILENAME

    Hello. I have several hundred text files in a folder. I would like to replace the text "Hello" present in every files with the actual "filename". How to do that? Can I use a Script or PowerShell? Thank you!
  18. Windows 10 Pulling hair out calling php file from batch file

    I'm having a hell of a time getting php to return a string. I don't know where they are going to install my batch file so I set the file location via %~dp0. there are 2 functions in my .php file, one to process color another to process Joomla's Version. The joomla one worked fine until I made...
  19. Windows 10 Uninstalling device - command line style?

    Hi, I have been having an issue the past few months, but I have never really come up with a decent idea on how to work around it. It concerns a USB-hub that I'm using that my copy of Windows, for some reason, reinstalls every time I reboot the computer. I'm pretty sure that there must be some...
  20. J

    Windows 10 Help with creating Batch files. My instructor is no help.

    I'm having to create a set of batch files for a class. My instructor is no help. I have included the assignment. Is there anyone out there who can help me? 1. Create a batch file called DD.BAT. This batch file should display the files on the root of the HOMEWORK drive in date order with the...