Jump to content

Batch file


Recommended Posts

MOVE "C:\PATH\FILE.EXT" "N:\PATH\"

You can use wildcards as * or ? to move several files or random named files.

Hum, giving it a second tought. Is your network stable? There are more robust solutions with robocopy, but usually it's not nessecairly to control the integrety (not 100% sure of the word, not a yank or brit) of the moved files.
Link to comment
https://qualityforum.zeiss.com/topic/18898-batch-file/#findComment-106408
Share on other sites

Unfortunately that field is currently being used to save a compact report:

"T:\DMR\CMM Data\100292 Op-10_Rev_B\"+ getRecordHead("planid")+ getRecordHead("partnbinc")+".txt"

Unless I can enter multiple lines of the above type code, which I'm guessing I can't?

Thank you everyone for all the help. I really appreciate it. It's just not working. My next stop is Zeiss support.
Link to comment
https://qualityforum.zeiss.com/topic/18898-batch-file/#findComment-106430
Share on other sites

Use this
move "C:\Users\Public\Documents\Zeiss\CALYPSO\workarea\results\*chr.txt" "T:\DMR\CMM Data\0934_Data\"
move "C:\Users\Public\Documents\Zeiss\CALYPSO\workarea\results\*hdr.txt" "T:\DMR\CMM Data\0934_Data\"

You cant move or copy files to a wilcard name.

Or
move "C:\Users\Public\Documents\Zeiss\CALYPSO\workarea\results\*.txt" "T:\DMR\CMM Data\0934_Data\"
If your "from" folder dont contain any more txt files that you dont wish to move.
Link to comment
https://qualityforum.zeiss.com/topic/18898-batch-file/#findComment-106444
Share on other sites

×
×
  • Create New...