kolibrios/programs/system/shell/cmd/cmd_pwd.c
Albom deca8b884f Shell v0.6.1. Some minor improvements.
git-svn-id: svn://kolibrios.org@3247 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-02-17 15:22:51 +00:00

8 lines
126 B
C

int cmd_pwd(char param[])
{
printf (" %s%c\n\r", cur_dir, cur_dir[strlen(cur_dir)-1]=='/'?' ':'/' );
return TRUE;
}