Learn more. How to echo variable name to batch file so the destination file can use the variable Ask Question. Asked 5 years, 2 months ago. Active 5 years, 2 months ago. Viewed 2k times. The problem is the following: I have generate. Jason Jason 1, 3 3 gold badges 15 15 silver badges 45 45 bronze badges. I think this topic could be worth a new question Add a comment. Active Oldest Votes. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. I was hoping that a windows guru could help me achieve the same result with either Pshell or windows.
To continue this discussion, please ask a new question. Get answers from your peers along with millions of IT pros who visit Spiceworks. Can I use "IF"? What is the best way to pull this off?
Best Answer. View this "Best Answer" in the replies below ». Popular Topics in IT Programming. Which of the following retains the information it's storing when the system power is turned off? Submit ». Just tested and you can't. So you will need to do as recommended. Just let us know what you want to do and we can provide examples to use and learn from : With this, it'd be easier to know what you're trying to make the script do.
In the first example, we substitute text: the text string "old" is replaced by the text string "new" if, but only if, the text "old" is present in the file's name. In the second example, we add text: the text "Prefix " is added to the start of the file name. This is not a substitution. This change will be applied to all files in the group.
0コメント