I have file with thousand lines like this.
x:/folder/folder/PN.xxx y:/folder/PN.xxx ...
I need to make script for change this (for using in excel):
Best result for me is something this:
I try to use easiest way in cmd:
D:\>powershell -Command "(gc serverPN.txt) -replace 'xxx', ';' | Out-File myFile.txt"
But I dont know, what is needet to write in XXX, when i want remove everything between /*/. Something like this can be close:"
Thanks for help.