Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Long Filenames in FoxPro for DOS
Message
From
28/03/2016 01:20:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Creating Long Filenames in FoxPro for DOS
Environment versions
Visual FoxPro:
FoxPro Dos
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01633840
Message ID:
01633840
Views:
82
Hi All,

I have been asked for assistance on a Foxpro DOS system.

Basically, all my friend wants is to create a text file with a long filename.

I have done the following to no avail:

1. used RUN in the Command Window
run /0 copy mytext.txt mylonglongtext.txt
or
run copy mytext.txt mylonglongtext.txt
The response was "Duplicate file name or file not found"

2. tried using FCREATE(), FPUTS() and FCLOSE()
x = FCREATE( "mylonglongtext.txt" )
= FPUTS( x, "Hello World" )
= FPUTS( x, "Hello Again" )
= FCLOSE( x )
The resulting filename is truncate to just "mylonglo.txt" (DOS 8.3 format)

Thanks in advance!
Next
Reply
Map
View

Click here to load this message in the networking platform