?
Solved

Current folder command prompt

Posted on 2000-03-26
8
Medium Priority
?
255 Views
Last Modified: 2010-04-13
Hello,
  If I am using win9x and have a folder window open then go to command prompt it starts me out in that current dir. This does not happen with win2k and is sometimes a pain to type the full path name in. I saw in a magazine once a reg edit that placed a command prompt item on the folder menu and allowed you to open a prompt at the current location. Anyone know how to do this?
0
Comment
Question by:pipe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 2658885
0
 

Author Comment

by:pipe
ID: 2659283
interestingly enough, neither of these work for win2k . any other ideas?
0
 

Author Comment

by:pipe
ID: 2659450
ack. i found where it added it to my menu. it is only there when i right click on a desktop icon such as the recycle bin.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:pipe
ID: 2685109
Sorry, can't get it to work.
0
 
LVL 1

Accepted Solution

by:
pabgilan earned 800 total points
ID: 2709607
I have that feature that you desire, working in Win2k

You have to copy all the code I am giving you below, paste it in the notepad and save it as doshere.inf

Please be careful in saving it as doshere.inf and not doshere.inf.txt (rename the file if necessary)

Later, right click that file and select Install (or Setup, depending on your language)

The code (from Microsoft PowerToys):

;
; "Command Prompt Here" PowerToy
;
; Copyright 1996 Microsoft Corporation
;
[version]
signature="$CHICAGO$"

[DosHereInstall]
CopyFiles = DosHere.Files.Inf
AddReg    = DosHere.Reg

[DefaultInstall]
CopyFiles = DosHere.Files.Inf
AddReg    = DosHere.Reg

[DefaultInstall.ntx86]
CopyFiles = DosHere.Files.Inf
AddReg    = DosHere.Reg.NT

[DefaultUnInstall]
DelFiles  = DosHere.Files.Inf
DelReg    = DosHere.Reg

[DefaultUnInstall.ntx86]
DelFiles  = DosHere.Files.Inf
DelReg    = DosHere.Reg.NT

[SourceDisksNames]
55="DOS Prompt Here","",1

[SourceDisksFiles]
DOSHERE.INF=55

[DestinationDirs]
DosHere.Files.Inf = 17

[DosHere.Files.Inf]
DOSHERE.INF

[DosHere.Reg]
HKLM,%UDHERE%
HKLM,%UDHERE%,DisplayName,,"%DosHereName%"
HKLM,%UDHERE%,UninstallString,,"%10%\rundll.exe setupx.dll,InstallHinfSection DefaultUninstall 132 %17%\DosHere.inf"
HKCR,Directory\Shell\DosHere,,,"%DosHereAccel%"
HKCR,Directory\Shell\DosHere\command,,,"%10%\command.com /k cd ""%1"""
HKCR,Drive\Shell\DosHere,,,"%DosHereAccel%"
HKCR,Drive\Shell\DosHere\command,,,"%10%\command.com /k cd ""%1"""

[DosHere.Reg.NT]
HKLM,%UDHERE%
HKLM,%UDHERE%,DisplayName,,"%DosHereName%"
HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %17%\DosHere.inf"
HKCR,Directory\Shell\DosHere,,,"%DosHereAccel%"
HKCR,Directory\Shell\DosHere\command,,,"%11%\cmd.exe /k cd ""%1"""
HKCR,Drive\Shell\DosHere,,,"%DosHereAccel%"
HKCR,Drive\Shell\DosHere\command,,,"%11%\cmd.exe /k cd ""%1"""

[Strings]
DosHereName="Command Prompt Here PowerToy"
DosHereAccel="Command &Prompt Here"
UDHERE="Software\Microsoft\Windows\CurrentVersion\Uninstall\DosHere"
0
 

Author Comment

by:pipe
ID: 2709780
noope. that didn't add anything to my menu. is there something else that i need to do?
0
 
LVL 1

Expert Comment

by:pabgilan
ID: 2710956
It's a strange problem...

the only thing I can say is... what about try to manually modify your registry as mentioned in [DosHere.Reg.NT] section ?

Instead of using %11%\cmd.exe you can type the full explicit path to your cmd.exe file

Locate Directory\Shell and make a new entry (folder) called Doshere, and so... following the code I gave to you

I hope this works
0
 

Author Comment

by:pipe
ID: 2713051
alright. i got it now. i didnt touch a thing and it works now. thx for the help
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Check out the latest tech news, community articles, and expert highlights in August's newsletter.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question