vexorian
July 28th, 2007, 12:05 AM
Hello, I need some help with an script I'd like to make. I want something that would take an argument, the argument is a file path, but then it should convert it to a MSDOS path for wine...
For example
/home/name/alg tur/k.w3x
becomes:
"Z:\home\name\alg tur\k.w3x"
And I then have to concatenate that (including the quotes) to a call to a WINE program.
Please help before the mad side of my brain forces me to compile a C++ program for this...
For example
/home/name/alg tur/k.w3x
becomes:
"Z:\home\name\alg tur\k.w3x"
And I then have to concatenate that (including the quotes) to a call to a WINE program.
Please help before the mad side of my brain forces me to compile a C++ program for this...