scripting

  1. News

    Getting the May 2020 Update Ready for Release

    Hello Windows Insiders! We are now getting the Windows 10 May 2020 Update (20H1) ready for release and releasing Build 19041.207 to Windows Insiders in the Release Preview ring. We believe that Build 19041.207 is the final build and we will continue to improve the overall experience of the May...
  2. onlinegill

    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
  3. q988988

    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...
  4. jdeblasio49

    Windows 10 Creating PowerShell Scripts: Tips and Best Practices

    Let's script Sent from my SM-A102U using Tapatalk
  5. 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...
  6. P

    Windows 10 Double click on *.reg file does NOT change the key value in Registry

    I have a *.reg script which just modifies (overwrites) the value of a certain, existing Registry key. When I double click on it (similar to Win7) then a popup appears asking me if I really want to add the key. After clicking Ok I was informed that the key value has been added successfully...
  7. Skynotempty

    Windows 10 Batch file to kill MS Word

    Working with a few documents in Win 10 using MS Word Closed the files, quit MS Word and then started doing cleanup I was informed MS Word was still open or the file was still in use by Word In Win 7 I had a batch file that rested on desktop which with one click would kill the task Can this be...
  8. Keith W

    Windows 10 Different Shutdown behavior from batch file than using Start>Power options

    This is quite a long read but please bear with me. I used to use a shutdown (.bat) script in win7 to backup my important stuff but couldn't make it work in win10 despite spending hours on the forums. It did work intermittently if I put it in the local logoff folder (group policies). So I wrote...
  9. M

    Script telnet check windows

    Hello everyone, I come to you near for a topic of monitore. I am looking for a script under windows to periodically check an application by telnet on its port then inform the monitoring server that will send the notification turn. Thank you for your help
  10. q988988

    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?
  11. 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...
  12. 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...
  13. 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
  14. M

    Windows 10 CMD.EXE - How to fix command output into variable

    Hi! I tried to send command output to variable. I'm using is in Windows 10.1903 x64 I used syntax: SET /P variable= | command I used batch by context menu to get word, characters and lines count in text file using old WC tool (it's great). First I used only copying output into clipboard by...
  15. 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...
  16. Vova

    Windows 7 Essential Tutorials for Mastering Command Prompt Commands in Windows

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

    Windows 10 Automating File Transfer: Script to Move Pet Data Files to Network Drives

    Hi everyone Was wondering if anyone can help me with this problem, of moving files off a c: drive to a network drive. So at work we have a machine that outputs .txt files now as an example these files include data about ..pets so in the folder I have hundreds of files that are named similar to...
  18. 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)...
  19. S

    Windows 10 Open a .url in a tab of Microsoft Edge

    Hi, I want to open a specific .url in a new tab of Microsoft Edge, this is the file I used for Explorer, can anyone convert for Edge? thanks Const OpenInNewTab = &H0800 Const OpenInBackgroundTab = &H1000 Site = "https:\\www.google.com" Dim oIE Dim objShell Dim objWindows Set objShell =...
  20. eager2learn

    Windows 10 Error handling in Powershell

    A Windows system use an external drive N:. A programs that use the external drive give sometimes an error message like "Directory N:\datastore is not available". To test the continuous availability I write the next batch script. :loop @TimE /t >> N:\datastore\test_times.txt @sleep...
Back
Top