Help with Explorer /select

D

DUN1

We Want to send via batch file a file over lan into a folder,
and if the operation is succesfull delete the original file,
and open an explorer view to destination.
I Made a little Batch file working al 80%, can you help with the EXPLORER
SELECT ROW?

I DRAG A FILE INTO THIS BATCH

SEND.BAT (drag e drop a file over it)

COPY %1 "\\PC\DIR1"

IF EXIST "\\PC\DIR1\%1" GOTO ERASEIT
GOTO END

:ERASEIT
DEL %1

EXPLORER /root,"PC\DIR1\",/select,%1 (this point to c:\path\%1 and open
explorer in source pc.
i want that it opens on destination, with selected files just copied (over
1000 files there!)

:END

Zanna
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top