Let's first clarify what that command means:frcol wrote:Do you know why am I having problem with the mkdir -p $PS2SDK?
$ mkdir -p $PS2SDK
mkdir: missing operand
Try `mkdir --help' for more information.
You ask the command interpreter to expand the environment variable $PS2SDK into a whatever string it has been defined to contain, and then to create a new folder with that string as the new folder name.
Apparently the environment variable is still undefined, so the command interpreter complains about not having been given a name to use with "mkdir".
You need to double-check your environment variable definitions, and make sure that they are made correctly, and in a file that actually gets used.
For use with 'bash' I put all my definitions in "Cygwin/etc/bash.bashrc", and that works fine with all PS2SDK usage. Naturally this also assumes that you use "Cygwin/bin/bash.exe" as your command interpreter for all such usage, otherwise all bets are off...
Best regards: dlanor