Windows 10: Batch commands

Discus and support Batch commands in Windows 10 Network and Sharing to solve the problem; I know this stuff is kind of old tech, but would anyone know how to make a script that goes through the contents of a folder or file and uses them as... Discussion in 'Windows 10 Network and Sharing' started by Peter STUDENT, Mar 10, 2020.

  1. Batch commands


    I know this stuff is kind of old tech, but would anyone know how to make a script that goes through the contents of a folder or file and uses them as command-line arguments say in pseudocode it might look something like:


    for each item in Desktop, copy %name% to D:\ a USB stick or something


    any help is much appreciated

    Peter

    :)
     
    Peter STUDENT, Mar 10, 2020
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile Batch commands :)
     
  3. ryanly Win User
    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Mar 10, 2020
    #3
  4. fatkatie Win User

    Batch commands

    Clear command prompt history from within batch.

    I have a batch, running in "Command Prompt", that prompts for a password. For any number of reasons I can't guarantee that the window will close before exposing that data (arrow keys browse history list).

    Is there a way to keep the password out of the list or is there a way to clear the list from within the batch itself?

    Thank you.
     
    fatkatie, Mar 10, 2020
    #4
Thema:

Batch commands

Loading...
  1. Batch commands - Similar Threads - Batch commands

  2. 'netsh' is not recognized as an internal or external command, operable program or batch...

    in Windows 10 Software and Apps
    'netsh' is not recognized as an internal or external command, operable program or batch...: Does anyone know the fix to this? I just randomly opened my laptop one day and it started doing this.I've tried like most fixes I've seen on the internet so I just came here to see if anyone knows how to fix this....
  3. 'netsh' is not recognized as an internal or external command, operable program or batch...

    in Windows 10 Customization
    'netsh' is not recognized as an internal or external command, operable program or batch...: Does anyone know the fix to this? I just randomly opened my laptop one day and it started doing this.I've tried like most fixes I've seen on the internet so I just came here to see if anyone knows how to fix this....
  4. 'netsh' is not recognized as an internal or external command, operable program or batch...

    in Windows 10 Gaming
    'netsh' is not recognized as an internal or external command, operable program or batch...: Does anyone know the fix to this? I just randomly opened my laptop one day and it started doing this.I've tried like most fixes I've seen on the internet so I just came here to see if anyone knows how to fix this....
  5. Why do I get "access denied" when I try to run commands from file through a batch script?

    in Windows 10 BSOD Crashes and Debugging
    Why do I get "access denied" when I try to run commands from file through a batch script?: I am trying to write a script that should run some commands from a file specifically commands for pg_dump and pg_restore, or backup and restore of Postgres database, but I am receiving an "access denied" output.The script looks like this:@echo offrem enters postgres directory...
  6. Why do I get "access denied" when I try to run commands from file through a batch script?

    in Windows 10 Gaming
    Why do I get "access denied" when I try to run commands from file through a batch script?: I am trying to write a script that should run some commands from a file specifically commands for pg_dump and pg_restore, or backup and restore of Postgres database, but I am receiving an "access denied" output.The script looks like this:@echo offrem enters postgres directory...
  7. Why do I get "access denied" when I try to run commands from file through a batch script?

    in Windows 10 Software and Apps
    Why do I get "access denied" when I try to run commands from file through a batch script?: I am trying to write a script that should run some commands from a file specifically commands for pg_dump and pg_restore, or backup and restore of Postgres database, but I am receiving an "access denied" output.The script looks like this:@echo offrem enters postgres directory...
  8. What word is used for internal command or operable program or batch file

    in Windows 10 Gaming
    What word is used for internal command or operable program or batch file: I want to set the command program on my laptop https://answers.microsoft.com/en-us/windows/forum/all/what-word-is-used-for-internal-command-or-operable/6ede701f-e0a3-49b2-8631-c7290604db2c
  9. What word is used for internal command or operable program or batch file

    in Windows 10 Software and Apps
    What word is used for internal command or operable program or batch file: I want to set the command program on my laptop https://answers.microsoft.com/en-us/windows/forum/all/what-word-is-used-for-internal-command-or-operable/6ede701f-e0a3-49b2-8631-c7290604db2c
  10. Having the output from a command within a batch file in a different color

    in Windows 10 Gaming
    Having the output from a command within a batch file in a different color: Hello. I am preparing to run the following script on one of our servers: REM Launch the batch files listed below to start the Exceed X environment, REM and log into the mcrs3 server using the putty application. REM List the hostname of the server that is being connected to by...