Double quotes will cause errors
Macro Macro2
Macro Macro2
str s.getfile("$desktop$\abc.psl");; load the file into a string so you can work with it
s.findreplace("select partition 0" "select partition 1")
;the first set of quotes in findreplace are what to find the second are what to replace with
s.findreplace("pwde = "c"" "pwde = "d"");;;uncomment and make changes to findreplace
s.findreplace("/path = "C:/"" "/path = "e:/"");;;uncomment and make changes to findreplace
s.findreplace("/name = "c"" "/name = "f"");;;uncomment and make changes to findreplace
out s
;when done editing
s.setfile("$desktop$\abc.psl");; uncomment when you want to save