Re: How can I use system cmd with variables?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Derek Parnell wrote:
 
> system("rename " & "\" & folderPathName & oldFileNames[n] & "\""
>           &  newFileNames[n], 2)

Oops, a bit hasty. This is neater ...

system("rename " & '"' & folderPathName & oldFileNames[n] & '"'
           &  ' ' & newFileNames[n], 2)

-- 
Derek Parnell
Melbourne, Australia
Skype name: derek.j.parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu