我的客户端是Windows 10 Pro。该服务器是Ubuntu服务器。
On my Ubuntu server, there is a file called
password.txt. Right now, in my batch file I am executing, I download this file via
scp firstname.lastname@example.org:~/password.txt C:\Temp and perform other tasks in the batch file by reading the content of password.txt and deleting the password.txt with
sdelete64 once my operations are done.
However, the downloading and reading the password-content from the file isn't really what I want to have. Is there any chance that I can
cat the content of
password.txt into a variable in my batch file and use it there without downloading it from the server?