Syntax about DOS batch script

From: tony (tony@extranc.com)
Date: 04/16/02


From: "tony" <tony@extranc.com>
Date: Tue, 16 Apr 2002 10:59:38 -0700

Hi:

i'm working on a script and i need to know
if the certain folder exists in my win2000 file
system or not to take the action. Is there
way and syntax to tell the file/folder exist?

ex:
    if (file/folder) then
            xxxxx
    else
            xxxxx
    end;

Truly appreciated for the time and effort!

tony



Relevant Pages

  • FSO display rootfolders
    ... the following script displays folders under a folder ... Set objFSO = CreateObject ... Tony ...
    (microsoft.public.scripting.vbscript)
  • Re: User account and Personal folder mismatch script
    ... I believe you want a script that can be run by an administrator that will ... The script above only documents if a home folder has been assigned. ... > End Sub ...
    (microsoft.public.scripting.vbscript)
  • Input on CleanUp script
    ... Since I'm going to be using this script in a production environment, ... If the script is used with a backup folder ... var strTargetFolder, strBackupFolder, args0, args1, args2, noArgs; ...
    (microsoft.public.scripting.wsh)
  • Input on CleanUp script
    ... Since I'm going to be using this script in a production environment, ... If the script is used with a backup folder ... var strTargetFolder, strBackupFolder, args0, args1, args2, noArgs; ...
    (microsoft.public.scripting.jscript)
  • Re: Disappearing Links
    ... I believe someone has a script for rebuilding links but I'm unable to find it at the moment. ... It could be adapted to trawl through the whole mail folder tree - if you really need that, ... -- to any contacts in the address book that match the sender of the messages ... set theSelection to selection ...
    (microsoft.public.mac.office.entourage)