CMD can't find D:

G

Guest

Hi,
I'm sure I must need to plug in a path idiciator somewhere as even though
everything is running fine, if I try to run a batch file in a DOS window
(using CMD), I get an error saying it can't find D:.

Someone suggested I try using fixpath.exe, but that utility confirmed my
path settings are correct, so what do I need to fix and how do I fix it?
Thanks!
Sue
 
A

Ayush

Replied to [Sue]s message :
Hi,
I'm sure I must need to plug in a path idiciator somewhere as even though
everything is running fine, if I try to run a batch file in a DOS window
(using CMD), I get an error saying it can't find D:.

Someone suggested I try using fixpath.exe, but that utility confirmed my
path settings are correct, so what do I need to fix and how do I fix it?
Thanks!
Sue

http://www.dougknox.com/xp/fileassoc/batch_file_assoc.zip
 
V

Vanguard

Sue said:
Hi,
I'm sure I must need to plug in a path idiciator somewhere as even
though
everything is running fine, if I try to run a batch file in a DOS
window
(using CMD), I get an error saying it can't find D:.

Someone suggested I try using fixpath.exe, but that utility confirmed
my
path settings are correct, so what do I need to fix and how do I fix
it?
Thanks!
Sue


So just WHAT is the value of your PATH environment variable (when you
run "echo %path%" at the DOS command prompt)?

So WHAT is *in* the problematic batch file that you are trying to run?
 
G

Guest

Thanks Ayush,
But I don't think this is what I need. I need CMD to see the D: drive to
enable the running of a batch file that references the D: drive. Sorry if I
confused it woth too much informaiton before. The batch file runs but cmd
doesn't see D:
Thanks!
Sue

Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [Sue]s message :
Hi,
I'm sure I must need to plug in a path idiciator somewhere as even though
everything is running fine, if I try to run a batch file in a DOS window
(using CMD), I get an error saying it can't find D:.

Someone suggested I try using fixpath.exe, but that utility confirmed my
path settings are correct, so what do I need to fix and how do I fix it?
Thanks!
Sue

http://www.dougknox.com/xp/fileassoc/batch_file_assoc.zip
 
A

Ayush

Replied to [Sue]s message :
Hi,
I'm sure I must need to plug in a path idiciator somewhere as even though
everything is running fine, if I try to run a batch file in a DOS window
(using CMD), I get an error saying it can't find D:.

Someone suggested I try using fixpath.exe, but that utility confirmed my
path settings are correct, so what do I need to fix and how do I fix it?
Thanks!
Sue

What happens when you type :
cd /d D:\
in Command Prompt.
 
G

Guest

Vanguard,
The path variable is quite long and points to a number of directories on C:
and 2 different ones on D: which applications have evidently entered
themselves. What I am trying to do with this bat file is delete some log
files and a trash file that get created by various applications, that I don't
want to keep after rebooting. so my bat file says for example
del d:\xyz\crash*.log
and then dos comes back and says it can't find D:
Thanks!
Sue
 
G

Guest

Dear Aysh,
using that command, it changes to the D: drive. Here is some of the bat
file. Windows is saying it can find the string specified:
del C:\Documents and Settings\mememe\Application Data\Mailwasher Pro\trash.*
/F /Q
del C:\Documents and Settings\mememe\Application Data\Mailwasher Pro\mwlog.*
/F /Q
del D:\Eudora Mail\Eudora.log /F /Q
Thanks!
Sue

Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [Sue]s message :
Hi,
I'm sure I must need to plug in a path idiciator somewhere as even though
everything is running fine, if I try to run a batch file in a DOS window
(using CMD), I get an error saying it can't find D:.

Someone suggested I try using fixpath.exe, but that utility confirmed my
path settings are correct, so what do I need to fix and how do I fix it?
Thanks!
Sue

What happens when you type :
cd /d D:\
in Command Prompt.
 
N

Nepatsfan

Just out of curiosity, why didn't you respond back that my
earlier suggestion didn't fix the problem? You were also asked
to post a copy of your batch file. If you had done so, you're
problem would probably already be solved. You need to enclose
the path to the files you're trying to delete in quotes.

For example, you have this.

del C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\trash.* /F /Q

It should be this.

del "C:\Documents and Settings\mememe\Application
Data\Mailwasher Pro\trash.*" /F /Q

likewise

del C:\Documents and Settings\mememe\Application
Data\Mailwasher Pro\mwlog.* /F /Q

should be

del "C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\mwlog.*" /F /Q

Finally,

del D:\Eudora Mail\Eudora.log /F /Q

should be

del "D:\Eudora Mail\Eudora.log" /F /Q

Good luck

Nepatsfan

In
Sue said:
Dear Aysh,
using that command, it changes to the D: drive. Here is some
of the
bat file. Windows is saying it can find the string
specified:
del C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\trash.* /F /Q
del C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\mwlog.* /F /Q
del D:\Eudora Mail\Eudora.log /F /Q
Thanks!
Sue

Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [Sue]s message :
Hi,
I'm sure I must need to plug in a path idiciator somewhere
as even
though everything is running fine, if I try to run a batch
file in
a DOS window (using CMD), I get an error saying it can't
find D:.

Someone suggested I try using fixpath.exe, but that utility
confirmed my path settings are correct, so what do I need
to fix
and how do I fix it? Thanks!
Sue

What happens when you type :
cd /d D:\
in Command Prompt.

--
→ Ayush
-------------
Search - www.Google.com | Wikipedia -
http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------
 
G

Guest

Dear Napatsfan,
I'm very sorry, either you responded to someone else with a similar problem
or I simply never saw your reply. If it was my error in any way, please
forgive me. I am VERY grateful for your help and can't wait to run my
correct bat file!
kind regards,
Sue

Nepatsfan said:
Just out of curiosity, why didn't you respond back that my
earlier suggestion didn't fix the problem? You were also asked
to post a copy of your batch file. If you had done so, you're
problem would probably already be solved. You need to enclose
the path to the files you're trying to delete in quotes.

For example, you have this.

del C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\trash.* /F /Q

It should be this.

del "C:\Documents and Settings\mememe\Application
Data\Mailwasher Pro\trash.*" /F /Q

likewise

del C:\Documents and Settings\mememe\Application
Data\Mailwasher Pro\mwlog.* /F /Q

should be

del "C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\mwlog.*" /F /Q

Finally,

del D:\Eudora Mail\Eudora.log /F /Q

should be

del "D:\Eudora Mail\Eudora.log" /F /Q

Good luck

Nepatsfan

In
Sue said:
Dear Aysh,
using that command, it changes to the D: drive. Here is some
of the
bat file. Windows is saying it can find the string
specified:
del C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\trash.* /F /Q
del C:\Documents and Settings\mememe\Application
Data\Mailwasher
Pro\mwlog.* /F /Q
del D:\Eudora Mail\Eudora.log /F /Q
Thanks!
Sue

Ayush" <"ayushmaan.j[aatt]gmail.com said:
Replied to [Sue]s message :
Hi,
I'm sure I must need to plug in a path idiciator somewhere
as even
though everything is running fine, if I try to run a batch
file in
a DOS window (using CMD), I get an error saying it can't
find D:.

Someone suggested I try using fixpath.exe, but that utility
confirmed my path settings are correct, so what do I need
to fix
and how do I fix it? Thanks!
Sue

What happens when you type :
cd /d D:\
in Command Prompt.

--
→ Ayush
-------------
Search - www.Google.com | Wikipedia -
http://en.wikipedia.org
Snip your long urls - http://snipurl.com/
-------------
 
R

Ron Sommer

Why didn't you say in your original post
del D:\Eudora Mail\Eudora.log /F /Q ?
Or when asked for some of the bat file you gave an example of
del d:\xyz\crash*.log ?

--
Ronald Sommer

: Dear Napatsfan,
: I'm very sorry, either you responded to someone else with a similar
problem
: or I simply never saw your reply. If it was my error in any way, please
: forgive me. I am VERY grateful for your help and can't wait to run my
: correct bat file!
: kind regards,
: Sue
:
: "Nepatsfan" wrote:
:
: > Just out of curiosity, why didn't you respond back that my
: > earlier suggestion didn't fix the problem? You were also asked
: > to post a copy of your batch file. If you had done so, you're
: > problem would probably already be solved. You need to enclose
: > the path to the files you're trying to delete in quotes.
: >
: > For example, you have this.
: >
: > del C:\Documents and Settings\mememe\Application
: > Data\Mailwasher
: > Pro\trash.* /F /Q
: >
: > It should be this.
: >
: > del "C:\Documents and Settings\mememe\Application
: > Data\Mailwasher Pro\trash.*" /F /Q
: >
: > likewise
: >
: > del C:\Documents and Settings\mememe\Application
: > Data\Mailwasher Pro\mwlog.* /F /Q
: >
: > should be
: >
: > del "C:\Documents and Settings\mememe\Application
: > Data\Mailwasher
: > Pro\mwlog.*" /F /Q
: >
: > Finally,
: >
: > del D:\Eudora Mail\Eudora.log /F /Q
: >
: > should be
: >
: > del "D:\Eudora Mail\Eudora.log" /F /Q
: >
: > Good luck
: >
: > Nepatsfan
: >
: > In : > > Dear Aysh,
: > > using that command, it changes to the D: drive. Here is some
: > > of the
: > > bat file. Windows is saying it can find the string
: > > specified:
: > > del C:\Documents and Settings\mememe\Application
: > > Data\Mailwasher
: > > Pro\trash.* /F /Q
: > > del C:\Documents and Settings\mememe\Application
: > > Data\Mailwasher
: > > Pro\mwlog.* /F /Q
: > > del D:\Eudora Mail\Eudora.log /F /Q
: > > Thanks!
: > > Sue
: > >
: > > "Ayush" <"ayushmaan.j[aatt]gmail.com" wrote:
: > >
: > >> Replied to [Sue]s message :
: > >>> Hi,
: > >>> I'm sure I must need to plug in a path idiciator somewhere
: > >>> as even
: > >>> though everything is running fine, if I try to run a batch
: > >>> file in
: > >>> a DOS window (using CMD), I get an error saying it can't
: > >>> find D:.
: > >>>
: > >>> Someone suggested I try using fixpath.exe, but that utility
: > >>> confirmed my path settings are correct, so what do I need
: > >>> to fix
: > >>> and how do I fix it? Thanks!
: > >>> Sue
: > >>
: > >> What happens when you type :
: > >> cd /d D:\
: > >> in Command Prompt.
: > >>
: > >> --
: > >> → Ayush
: > >> -------------
: > >> Search - www.Google.com | Wikipedia -
: > >> http://en.wikipedia.org
: > >> Snip your long urls - http://snipurl.com/
: > >> -------------
: >
: >
: >
: >
 
G

Guest

Becuase it was quicker to write wha tI wrote rather than find and open the
bat file and copy and paste its contents.

Ron Sommer said:
Why didn't you say in your original post
del D:\Eudora Mail\Eudora.log /F /Q ?
Or when asked for some of the bat file you gave an example of
del d:\xyz\crash*.log ?

--
Ronald Sommer

: Dear Napatsfan,
: I'm very sorry, either you responded to someone else with a similar
problem
: or I simply never saw your reply. If it was my error in any way, please
: forgive me. I am VERY grateful for your help and can't wait to run my
: correct bat file!
: kind regards,
: Sue
:
: "Nepatsfan" wrote:
:
: > Just out of curiosity, why didn't you respond back that my
: > earlier suggestion didn't fix the problem? You were also asked
: > to post a copy of your batch file. If you had done so, you're
: > problem would probably already be solved. You need to enclose
: > the path to the files you're trying to delete in quotes.
: >
: > For example, you have this.
: >
: > del C:\Documents and Settings\mememe\Application
: > Data\Mailwasher
: > Pro\trash.* /F /Q
: >
: > It should be this.
: >
: > del "C:\Documents and Settings\mememe\Application
: > Data\Mailwasher Pro\trash.*" /F /Q
: >
: > likewise
: >
: > del C:\Documents and Settings\mememe\Application
: > Data\Mailwasher Pro\mwlog.* /F /Q
: >
: > should be
: >
: > del "C:\Documents and Settings\mememe\Application
: > Data\Mailwasher
: > Pro\mwlog.*" /F /Q
: >
: > Finally,
: >
: > del D:\Eudora Mail\Eudora.log /F /Q
: >
: > should be
: >
: > del "D:\Eudora Mail\Eudora.log" /F /Q
: >
: > Good luck
: >
: > Nepatsfan
: >
: > In : > > Dear Aysh,
: > > using that command, it changes to the D: drive. Here is some
: > > of the
: > > bat file. Windows is saying it can find the string
: > > specified:
: > > del C:\Documents and Settings\mememe\Application
: > > Data\Mailwasher
: > > Pro\trash.* /F /Q
: > > del C:\Documents and Settings\mememe\Application
: > > Data\Mailwasher
: > > Pro\mwlog.* /F /Q
: > > del D:\Eudora Mail\Eudora.log /F /Q
: > > Thanks!
: > > Sue
: > >
: > > "Ayush" <"ayushmaan.j[aatt]gmail.com" wrote:
: > >
: > >> Replied to [Sue]s message :
: > >>> Hi,
: > >>> I'm sure I must need to plug in a path idiciator somewhere
: > >>> as even
: > >>> though everything is running fine, if I try to run a batch
: > >>> file in
: > >>> a DOS window (using CMD), I get an error saying it can't
: > >>> find D:.
: > >>>
: > >>> Someone suggested I try using fixpath.exe, but that utility
: > >>> confirmed my path settings are correct, so what do I need
: > >>> to fix
: > >>> and how do I fix it? Thanks!
: > >>> Sue
: > >>
: > >> What happens when you type :
: > >> cd /d D:\
: > >> in Command Prompt.
: > >>
: > >> --
: > >> → Ayush
: > >> -------------
: > >> Search - www.Google.com | Wikipedia -
: > >> http://en.wikipedia.org
: > >> Snip your long urls - http://snipurl.com/
: > >> -------------
: >
: >
: >
: >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top