Ask Your Question
0

How to convert a tipe of file and then split them in two different folders

asked 2017-02-09 15:19:28 +0200

Alex27 gravatar image

I have to convert some .sxd file in png, and that's not a problem, but if a file end with L, i have to put that converted file in one folder, if a file end with I, in another.

for convert that i use: for %f in ("C:\Users\administrator\Desktop\Lay_up_contratti_camp*.sxd") do "C:\Program Files (x86)\LibreOffice 5\program\soffice.exe" --headless --convert-to png --outdir "C:\Users\administrator\Desktop\folder" "%f"

but then how can i separate them? With an if? if yes how can i do it?

P.S. i' have win 7

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-02-09 15:25:50 +0200

updated 2017-02-09 15:36:15 +0200

you may use a following move:

move "C:\Users\administrator\Desktop\folder\*L.png" otherdir
edit flag offensive delete link more

Comments

more specific? with a for?

Alex27 gravatar imageAlex27 ( 2017-02-09 15:32:43 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-02-09 15:19:28 +0200

Seen: 32 times

Last updated: Feb 09 '17