1
vote
2answers
778 views

What about this Forfiles command syntax is wrong?

I was attempting to issue the following FORFILES command, and I recieved an error that distressed me (listed after the command). C:\Windows\system32>FORFILES /P %WINDIR%\servicing\Packages ...
-1
votes
1answer
124 views

What are the specific names for the various username formats in Windows?

When windows users are prompted to enter their username, they can usually specify it in a variety of formats: username username@activedirectorydomain.example addomain\username What are the ...
2
votes
2answers
144 views

How does calling a program in Windows XP from “Run…” with a colon argument work?

I noticed that a certain program works in a special way when sending an argument. The only way to send an argument is by clicking "Start -> Run..." and typing: [programname]:[argument] for e.g ...
2
votes
2answers
11k views

copy file to multiple folders via batch script

I want to copy a file (file.txt) inside all folders of a given destination. I want to create a batch file that does the job, but I'm not so skilled in Windows batch syntax.
0
votes
2answers
401 views

Print the file name with another extension (Batch-program)

Batch-program launchs with 1 parameter (full path to file) program.cmd "C:\Path\To\File\Filename.txt" Now, this program consists of 1 command: echo %1 And it just prints an argument: ...
2
votes
1answer
1k views

Automating Disk Cleanup on Windows using commandline

I am trying to run Disk Cleanup in the Command Prompt (and through a C# program) and so I went through all the available options from this link: http://support.microsoft.com/kb/315246 Whilst I ...