Windows Command Prompt Default has copy and del as commands.
And I made some tools so it would like more like Linux.
How can I add the tools. For cmd?
Can that be done?
Cheers,
Robin
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads Nov/Dec!, Please donate today
You can add those tools to the portable drive (I would suggest PortableApps\CommandPromptPortable\Data) and then add the following to PortableApps\CommandPromptPortable\Data\Settings\commandprompt.bat:
SET PATH=$~d0\PortableApps\CommandPromptPortable\Data\;$PATH
Commandprompt.bat runs when you start up CommandPromptPortable and adding that line will add your tools to the path, assuming they are in X:\PortableApps\CommandPromptPortable\Data (if X is the portable drive letter).
formerly rayven01
I changed my App\DefaultData\Batch\commandprompt.bat to:
@echo off
SET PATH=$~d0\bin\;$PATH
color 07
prompt $p$g
title Blackshell
cls
ver
cd\
in the folder:
PENDRIVE\bin\
I have the programs:
- netcat
- ls
- cat
- nano
- mkdir
But, well it doesnt work.
I guess I do some thing really stupid..
I cant use the commands when I am not in the directory..?
Tell me what I did wrong please
Cheers,
Robin
Yea LOL Poor Shawn has been coding too much NSIS. Should be -
Yey it works.
Heh, the funny part is I had %'s in there at first and changed them thinking I was putting NSIS code in there. I'm at an IT conference, my brain is fried.
formerly rayven01