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.
Foxpro Dos shortname
Name: jester4281 Date: January 27, 2005 at 10:55:07 Pacific OS: Windows XP CPU/Ram: P4
Comment:
Can anyone tell me how, through Foxpro to return the DOS shortname of a directory ?
ex. C:\documents and settings\ryan\some really long folder name\
Name: IVO Date: January 28, 2005 at 01:59:59 Pacific
Reply:
Under Windows XP you can get the DOS shortnames using the /X switch in the Dir command, e.g.
Dir /X C:\documents and settings\ryan\some really long folder name\
but how then to use that is another story as you have to type the shortname explicitly in each command.
So explain exactly what you are trying to achieve and may be it is easier than you suppose.
And by the way what do you mean in your previous post saying "to test the Tree command"?
0
Response Number 2
Name: jester4281 Date: January 28, 2005 at 05:10:27 Pacific
Reply:
I am writting a app that allows the user to select the desidered location and then the app generates a Dos-tree view which it then runs out, replaces the ASCII Characters to make it look nice.
When I try to pass a long DOS name it errors, when I pass a ok path name it runs great.
Ryan
0
Response Number 3
Name: IVO Date: January 28, 2005 at 05:52:37 Pacific
Reply:
You can run a legacy DOS application under Windows XP (under some constraints), but as the application interfaces the operating system through the int 21h interface (via the NTVDM emulator) you need to follow the old 8.3 file format when accessing the file system. That is why in FoxPro you get an error using long file names.
Summary: I used to have this working but I cant find the original code. Question: How can I run automated dos commands from FoxPro 8. Code: RUN /N cmd.exe (I want a dos tree view here) ex. RUN /N Cmd.exe tree ...
Summary: I believe FoxPro DOS and FoxPro Windows have the same data file structure (.dbf). What type of connection do you desire? Access, Excel, SQL? ...
Summary: i am using visual foxpro 6.0 under window 98 & windows NT. I facing problem to print multiple font printing in dos mode (Fast Printing) i.e. heading of report in some bold character and remeaing in no...