Re: String is Missing Backslash

2008-08-30 Thread John W. Krahn
AndrewMcHorney wrote: Hello Hello, I am working on a perl script and inside the script I am building a string. However the backslash does not appear. Here is the code: $DirCommand = "dir".$CurrentDrive.":\ /S"; where $DirCommand = "c" I am expecting the results to be dir c:\ /S but my res

String is Missing Backslash

2008-08-30 Thread AndrewMcHorney
Hello I am working on a perl script and inside the script I am building a string. However the backslash does not appear. Here is the code: $DirCommand = "dir".$CurrentDrive.":\ /S"; where $DirCommand = "c" I am expecting the results to be dir c:\ /S but my results are dir c: /S This affects