Search found 5 matches

by Rage
08 Oct 2009 09:06
Forum: DOS Batch Forum
Topic: how can i hide the DOS window when executing a batch file ?
Replies: 5
Views: 8390

Ah switch in wrong place, its;

start /b cmd /c

This will run a subcommand with no window then terminate when the line has run.
by Rage
08 Oct 2009 08:12
Forum: DOS Batch Forum
Topic: how can i hide the DOS window when executing a batch file ?
Replies: 5
Views: 8390

Does anybody know how to make a batch file open a new cmd subcommand without a window? I already tried;

start cmd /b

that just has the same effect as ;

start cmd

so the /b swich has no effect there the /min does not work either, any ideas?
by Rage
08 Oct 2009 07:27
Forum: DOS Batch Forum
Topic: Making a batch file to copy itself.
Replies: 1
Views: 5633

No worries figured it out. Schoolboy error.
by Rage
08 Oct 2009 05:58
Forum: DOS Batch Forum
Topic: how can i hide the DOS window when executing a batch file ?
Replies: 5
Views: 8390

You can simply convert the bat to an exe using a converter, this brings up no cmd window and has the same effect (at least in what I've tested so far), or you can make a vbs that executes your bat like this: Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "C:\p...
by Rage
08 Oct 2009 05:41
Forum: DOS Batch Forum
Topic: Making a batch file to copy itself.
Replies: 1
Views: 5633

Making a batch file to copy itself.

Hello all, I am fairly new to batch and am basically just trying to learn a few things that will save time doing things later. I am trying to make a batch file that can be run from any location, and copy itself to a specified location, so that I can take my file on CD or USB or run it from the deskt...