I need your help.
I am trying to create a batch script which FTP a single file from Windows to Linux servers.
I want to keep the same path for the source and destination since I want to use a single variable in my script so that I can use that for ftp'ing that single file across 4 different regions e.g: windows to linix, linuxA to linuxB, Linux B to Linuc C, and Linux C to linux D.
But the problem is in windows I have the path:
And in Linux it is:
How can get rid of character "E" and then change "\" to "/" ?
Please let me know what is the logic to resolve this.
I really appreciate your help.