Help - Search - Members - Calendar
Full Version: How Check If File Exist On Hard Disk
The CD Forum > CD Shell and Boot Scriptor > Troubleshooting & Problems
Hi all,

I need to check if a file exist on C: HDD in my CD Shell script.

If have this:

if ! file[c:\test.txt]; then goto Continue

but when CD Shell boot, C: drive is'nt mounted as I can see.

How can I do this ?

thank's for help
As far as I know, you can't because the file system is not known by cdshell.

thank's for reply

It's exactly what I suppose.

I try to do a special menu with

first time :
create disk partition
second time :
launch XP setup

to check if partition is OK I need to check file and purpose another menu with XP installation.

Any idea to do that ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2016 Invision Power Services, Inc.