Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path variables
#4
To expand environment variables use str.expandpath with flag 1.

Macro Macro280
Code:
Copy      Help
str s1.expandpath("c:\%username%\xyzfolder\*" 1)
str s2.expandpath("\\myserver\share\%computername%\data" 1)
out s1; out s2
cop- s1 s2 FOF_ALLOWUNDO|FOF_NOCONFIRMMKDIR


Messages In This Thread
Path variables - by taylope1 - 10-24-2019, 12:56 PM
RE: Path variables - by taylope1 - 11-04-2019, 01:22 PM
RE: Path variables - by Kevin - 11-04-2019, 05:42 PM
RE: Path variables - by Gintaras - 11-04-2019, 08:20 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)