I have a script that won't print on a client server set up.
Here are the two versions of the script:
**This one DOES NOT work**
@echo off
echo ***** COMPARING FILES *****
set scriptPath="C:\Users\Administrator\Desktop\RXCompa reHtmlIgnore.txt"
set hostPath="C:\ComparisonFilesServer\67680.rx"
set guestPath="\\VBOXSVR\ComparisonFilesServer\67680.r x"
set reportPath="C:\Users\Administrator\Desktop\My Report.html"
REM Keep spaces in front of file paths and carets at the ends. Also, there can be no spaces after carets.
BComp.exe @%scriptPath% %hostPath% %guestPath% %reportPath% //start "" "My Report.html"
**This one DOES work**
@echo off
echo ***** COMPARING FILES *****
set scriptPath="C:\Users\robert.minardi\Desktop\Deskto p\Comparison Files\RX_Incoming\RXCompareHtmlIgnore.txt"
set originalPath="C:\Users\robert.minardi\Desktop\Desk top\Comparison Files\RX_Incoming\Original.rx"
set alteredPath="C:\Users\robert.minardi\Desktop\Deskt op\Comparison Files\RX_Incoming\Altered.rx"
set reportPath="C:\Users\robert.minardi\Desktop\Deskto p\Comparison Files\RX_Incoming\My Report.html"
REM Keep spaces in front of file paths and carets at the ends. Also, there can be no spaces after carets.
BComp.exe @%scriptPath% %originalPath% %alteredPath% %reportPath% //start "" "My Report.html"
The only real difference is that one is accessing a file across a network and the variable names are slightly different.
I'm not getting a "cannot find file" error, I'm getting a "can't create report error"
Also, here's the report script:
text-report layout:side-by-side &
options:ignore-unimportant,display-context,display-mismatches &
output-to:"%3" output-options:html-color "%1" "%2"
Any thoughts on why this is happening?
Thanks,
Rob
Here are the two versions of the script:
**This one DOES NOT work**
@echo off
echo ***** COMPARING FILES *****
set scriptPath="C:\Users\Administrator\Desktop\RXCompa reHtmlIgnore.txt"
set hostPath="C:\ComparisonFilesServer\67680.rx"
set guestPath="\\VBOXSVR\ComparisonFilesServer\67680.r x"
set reportPath="C:\Users\Administrator\Desktop\My Report.html"
REM Keep spaces in front of file paths and carets at the ends. Also, there can be no spaces after carets.
BComp.exe @%scriptPath% %hostPath% %guestPath% %reportPath% //start "" "My Report.html"
**This one DOES work**
@echo off
echo ***** COMPARING FILES *****
set scriptPath="C:\Users\robert.minardi\Desktop\Deskto p\Comparison Files\RX_Incoming\RXCompareHtmlIgnore.txt"
set originalPath="C:\Users\robert.minardi\Desktop\Desk top\Comparison Files\RX_Incoming\Original.rx"
set alteredPath="C:\Users\robert.minardi\Desktop\Deskt op\Comparison Files\RX_Incoming\Altered.rx"
set reportPath="C:\Users\robert.minardi\Desktop\Deskto p\Comparison Files\RX_Incoming\My Report.html"
REM Keep spaces in front of file paths and carets at the ends. Also, there can be no spaces after carets.
BComp.exe @%scriptPath% %originalPath% %alteredPath% %reportPath% //start "" "My Report.html"
The only real difference is that one is accessing a file across a network and the variable names are slightly different.
I'm not getting a "cannot find file" error, I'm getting a "can't create report error"
Also, here's the report script:
text-report layout:side-by-side &
options:ignore-unimportant,display-context,display-mismatches &
output-to:"%3" output-options:html-color "%1" "%2"
Any thoughts on why this is happening?
Thanks,
Rob
Comment