Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File my.exe is not object file
Message
 
 
To
28/05/2005 20:37:17
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018330
Message ID:
01018420
Views:
15
1) Start your operating system command window (In your window desktop Click Start button in the task bar -> Run -> write CMD to the Open: field and hit the OK button. Then Change directory where the My.exe is located. For example CD D:\MyDIr\MyFiles Then use next DOS command:
COPY MY.EXE MY.TXT
Now you have MY.TXT as a backup copy of the MY.EXE

OR

2) Use WIndows explorer (click my computer) to chage directory where MY.EXE is located. Then mouse right click MY.EXE -> select COPY from the right click popup window. Then mouse right click again the very same directory window (just don't right click the window over the name column and over any file or directory) and select PASTE from the popup window. Now you should have backup file for the MY.EXE that have a name as "Copy of My.exe" (without quotation marks). Now you just rename the "Copy of My.exe" to MY.TXT THis done as follows: mouse right click the "Copy of My.exe" file choose RENAME from the popup window and change "Copy of My.exe" to MY.TXT

OR

3) In Foxpro use COPY TO command. Lets say that MY.EXE is located in D:\MyDIr\MyFiles\ directory -> use next command in foxpro:
COPY FILE D:\MyDIr\MyFiles\MY.EXE TO D:\MyDIr\MyFiles\MY.TXT
When you are restoring the backup copy (i.e. restoring MY.EXE file) just do one of the above procedures again backwards. That means that copy MY.TXT to MY.EXE. For example in the 3) procedure it would be done as follows:
start foxpro use command
COPY FILE D:\MyDIr\MyFiles\MY.TXT TO D:\MyDIr\MyFiles\MY.EXE
If you get warning window / text like "MY.EXE files exist. Do you want to overwrite?" just answer YES.

Also if MY.EXE is some how write protected by the VIRUS and cannot be overwrited then delete MY.EXE first and after that copy MY.TXT to MY.EXE

If you have difficulties deleting MY.EXE and you are sure that MY.EXE shoudn't be running then check from the windows task manager that is MY.EXE running? If yes, kill the MY.EXE process in the task manager first.

All in all I recommend that you buy or borrow a good book or browse Internet for the Windows basics where windows explore is explained.

AT


>Dear Sir,

>How to copy my.exe to My.txt?
>And how to copy My.txt to My.exe?
>
Previous
Reply
Map
View

Click here to load this message in the networking platform