First post, by RobertX
In a GNU/Linux distro, I am interested in storing a variable that contains the current /home/ directory.
In that past, I would have to ask the user to input the Home directory of the user in question.
I want the procedure to be automated.
This was how I did it:
# Ask for user name
STRINGS user = ASK Please enter your user name:
#Mount User drive
mount c /home/%user%/.dosbox/
So, how can I just mount the directory by itself? Does GNU/Linux store the home directory by itself, or do I have to stick with asking for the Home directory every time?
EDIT: I think I have to explain why I mount the user directory every time I start up DOSBox. Simply, I do it because that's where I store the programs/games in, nowhere else. I like my stuff structured and organised.