ME Program Luncher

I want to copy a log file "file1" from "\windows\logs" on a panel view plus to "USB STORAGE"
I added a program lunch object:
Program Location : "cmd.exe"
and that takes me to command prompt. from there i type :
cd \windows, where i stored a text batch file that does the copying for me and it works. i want to add the path of the batch file to the program lunch object so the whole job is done by pressing the program lunch button. how to do that?
i added the path of the batch file to the program parameter but it did not work.
 
What about making an autorun.bat file on your USB to do the copying? Seems like that would be easier than messing with the PanelView application.

Edit:

Something like
Code:
MKDIR "\USB Storage\logs"
COPY "\windows\logs\*." "\USB Storage\logs\"

Not 100% on "storage card2", that may be the SD card.
 
After a little investigation, the problem here is that there are only directories inside of \Windows\logs, I think the COPY only copies files, not directories. And it doesn't appear CE has XCOPY, which copies directories. So your batch file will have to point to the correct directory inside logs.

Code:
COPY "\Windows\logs\MyProjectName\*." "\USB Storage\logs\"
 

Similar Topics

I need someone who has some other versions of Modsoft or LModsoft to see if this is just me or not. I've tried loading this program into Lmodsoft...
6
Replies
109
Views
I'm looking for the program for a Fitzpatrick IR520 Roller compactor. We acquired one and the program is gone for the whole machine. It would be...
17
Replies
484
Views
Hi everyone, I am currently working on a legacy system equipped with an ABB Procontic T200 PLC. I need to upload and read the program from the...
1
Replies
132
Views
This is my first time seeing this kind of plc and I'm having trouble figuring out what software is used to program it. If anyone has experience...
2
Replies
315
Views
Hello friends, I want to upload project from ABB 07KR51. I have AC31GRAF software, I made cable. But I'm getting timeout error. Somebody can help me?
3
Replies
246
Views
Top