View previous topic :: View next topic |
Author |
Message |
thatsflash -
Joined: 21 Aug 2004 Posts: 4
|
Posted: Mon Mar 28, 2005 12:15 am Post subject: What is the DOS path for the server on an xp machine ?? |
|
|
C:\Program Files\Abyss Web Server\htdocs
is the path as you can see it
but a DOS bat file will not except this path...
it does not like the spaces
can anyone help with the DOS path ??
i think on windows 95 & 98 shows the full path
c:\progra~1 DOS path
c:\program files as xp shows
cheers
jason |
|
Back to top |
|
 |
thatsflash -
Joined: 21 Aug 2004 Posts: 4
|
Posted: Mon Mar 28, 2005 1:08 am Post subject: proplem solved |
|
|
c:\\progra~1\\abyssw~1\\htdocs
is the correct path for a DOS program
cheers |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Mar 28, 2005 5:56 pm Post subject: Re: What is the DOS path for the server on an xp machine ?? |
|
|
thatsflash,
In a DOS window, you can use dir /X to see the short name of the files in the listing.
If you are writing a batch script or need to use the path in a DOS command window, you can still use the long path if enclosed between two " symbols.
So you can for example execute in a DOS window:
Code: |
cd "C:\Program Files\Abyss Web Server"
|
or
Code: |
type "C:\Program Files\Abyss Web Server\log\access.log"
|
_________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|