timmy-mac
asked on
Scripting hidden windows folder$ in OS X
HI there,
trying to run this script but it doesn't work and i am thinking it has something to do with the $ at the end of all users home folders. Could someone maybe help me writing this script correctly
#!/bin/bash
mkdir ~/WindowsHome
mount_smbfs -N //$USER@windows-server.tes t.com/$USE R$ ~/WindowsHome
the leading dollar is the script dollar and the trailing dollar is the hidden folder dollar
any help appreciated lots of points up for grabs here :-)
trying to run this script but it doesn't work and i am thinking it has something to do with the $ at the end of all users home folders. Could someone maybe help me writing this script correctly
#!/bin/bash
mkdir ~/WindowsHome
mount_smbfs -N //$USER@windows-server.tes
the leading dollar is the script dollar and the trailing dollar is the hidden folder dollar
any help appreciated lots of points up for grabs here :-)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the mind nudge