tags:

views:

151

answers:

1

I am moving an application from Unix (AIX) to Windows. We have MKS Toolkit on the Windows server in order to run our shell scripts fairly unchanged. However, my old FTP jobs depend on the .netrc file. Can anybody tell me whether .netrc is supported under MKS Toolkit, and if yes, where to put the file?

+1  A: 

http://www.mkssoftware.com/docs/man4/netrc.4.asp :

The .netrc file is a text file residing in your home directory [...]

http://www.mkssoftware.com/docs/man1/bsdftp.1.asp

If auto-login is enabled, bsdftp checks the .netrc file in the user's home directory [...]

ax
Thanks for the info - but how do change to my home directory in Windows? cd alone doesn't work; neither does cd ~, cd ~/. or cd ~\.
Sten Vesterli
i assume you are using one of the MKS Toolkit shells and not the Windows shell? then `cd` should work, and also `echo $HOME` for finding your home dir.
ax