Hi forum,
I need to write a simple script that runs a few commands in an order. Let's just say that this sth like a cmd file:
./cmd [var]
In the var section I want to add a username which automatically creates a directory somewhere. The fisrt attempt was sth like this:
Code:
mkdir /ntprofiles/%u
hoping that the %u var will be replaced with the username.... Ofcourse, that didn't work...
Any hints?