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: Capture2Text (Sep 26, 2023), Platform 26.2.1 (Sep 17, 2023)
450+ real apps (49GB), 1.1 billion downloads, Please donate.
Jack Haller, Advisor and Father of Our Founder, Has Passed Away
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
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).
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 -
SET PATH=%~d0\bin;%PATH%