Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
IsFileOpen - Check if File is Open
Name: kafta Date: April 9, 2003 at 10:18:20 Pacific OS: DOS CPU/Ram: x86
Comment:
Does anyone have a simple utility to Check the File Status if open or not. Ideally you would execute IsFileOpen FileName and will return 0 if not 1 if True. It would run in a script in a batch.
Summary: I've found a way to do this. copy program.exe %temp%.\program.exe del program.exe if not exist program.exe echo program is not running if exist program.exe echo program.exe is running This is because ...
Summary: Hi there! Does anyone can help me? How can I make an if structure to check if the directory is empty? Like if [directory empty] goto state1 goto state2 :state1 --code1-- :state2 --code2-- Thanx folks!...
Summary: Hi! I'm trying to make a batch-file that will check if there is a primary partition on the harddrive. I know how to check if there's a formated partition but how do you check if there's a unformated p...