Search found 378 matches

by !k
07 Nov 2009 09:46
Forum: DOS Batch Forum
Topic: What does this batch do?
Replies: 6
Views: 3682

denmyos
why chrome.msi but chrom.msi
by !k
20 Oct 2009 01:57
Forum: DOS Batch Forum
Topic: Preventing multi-program opening
Replies: 1
Views: 1820

Code: Select all

@echo off
tasklist |findstr /c:"My Prog.exe" &&(echo There is one open already &pause &exit /b)
start "" "My Prog.exe"
by !k
17 Oct 2009 08:46
Forum: DOS Batch Forum
Topic: Batch IF ELSE commands help please
Replies: 2
Views: 2498

cd windows
IF EXIST problem.txt ...
rename c:\problem.txt ...

You need to determine where there really is problem.txt — c:\problem.txt or c:\windows\problem.txt
Or is it 2 different files? ;)