I am using net use commands in a .profile for an sftp client to access file shares from cygwin.
If I ssh to the Windows server and run . .profile, then everything works until the next time the server is reboot.
Is there a way at sshd startup to run a script like a .profile?
net use
is not a cygwin command, it is a Windows command line command.