- Aug
- 2,308
- 111
I have purchased a new system with Windows 10 Pro, and have installed;
On my previous Windows 7 system, the following example worked as it should;
However, it does not work on my Windows 10 Pro system, due to how I installed Windows 10 Pro.
On my Windows 7 system, my USERPROFILE was in C:\Users\jlc
On my Windows 10 system, my USERPROFILE is in C:\Users\Joe Caverly
When I run the above example, it returns with an error;
Yes, in hind sight, I should have setup a user profile with no spaces, but is there a way I can eliminate this error?
Joe
Code:
TCC 24.02.49 x64 Windows 10 [Version 10.0.17763.503]
On my previous Windows 7 system, the following example worked as it should;
Code:
@setlocal
@echo off
type <<- endtext > results.txt
This is parameter %1
endtext
type results.txt
endlocal
However, it does not work on my Windows 10 Pro system, due to how I installed Windows 10 Pro.
On my Windows 7 system, my USERPROFILE was in C:\Users\jlc
On my Windows 10 system, my USERPROFILE is in C:\Users\Joe Caverly
When I run the above example, it returns with an error;
Code:
e:\utils>test.btm
TCC: (Sys) E:\Utils\test.btm [5] The system cannot find the file specified.
"C:\Users\Joe"
Yes, in hind sight, I should have setup a user profile with no spaces, but is there a way I can eliminate this error?
Joe