scripting

  1. 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?
  2. 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...
  3. 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...
  4. 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
  5. 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...
  6. Vova

    Windows 7 Windows cmd

    Tutorials to learn cmd Sent from my LLD-L31 using Windows Forums mobile app
  7. 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)...
  8. M

    Windows 10 permission archive in powershell

    what permission archive in powershell?
  9. 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...
  10. 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!
  11. Bear

    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...
  12. pingaan

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

    Windows 7 tasklist CMD

    I would like to know is it possible to make a cmd program in #C to monitor windows processes? CMD Starts and automatically sends tasklist command every 10 seconds. If new process starts during that 10 seconds it opens TXT or another CMD windows to inform me that process name and location...
  15. News

    Savill's FAQs: Execute a PowerShell script in Windows PE

    Three times a week, John Savill tackles your most pressing IT questions. Today learn about using your own images to create a VM using PowerShell, wiping a disk when using the Windows PE environment, and how to execute a PowerShell script in Windows PE. Continue reading...
  16. News

    New WinDbg available in preview!

    We are excited to announce a preview version of a brand new WinDbg. We’ve updated WinDbg to have more modern visuals, faster windows, a full-fledged scripting experience, built with the easily extensible debugger data model front and center. I’ll start this by saying that WinDbg Preview is using...
  17. J

    Windows 7 Execute a Windows program from ssh (opening a veracrypt volume)

    Hi all! I'm trying to execute a program(veracrypt) to open a volume thru ssh, but i can't, I've tried the runas command.. I'm running bitvise ssh and connection with juicessh (android).. Been trying for two days, but nothing.. .. Anybody that have any suggestions?
  18. Neemobeer

    Windows 10 Tutorial Suggestions

    Looking for suggestions on tutorials. Can be anything, programming, scripting, network related, 'how does <blank> work'.
  19. Windows 7 Folder contents exported

    So I guess this is probably not the right place for this, but frankly I don't know where to look! I'm trying to get a list of folder contents (preferably including sub folders), so literally just the file names, exported as a text file or csv, or something that I can manipulate the data with...
  20. P

    Windows 10 CmdPrompt (DOS batch) "timeout" from Win7 replaced by "sleep" in Win10?

    In DOS batch scripts under Windows 7 there was a function "timeout" which stops the execution for n seconds. This command seems to be replaced by "sleep" in DOS batch scripts under Win10. Is this true? Peter