Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: HELP!!! My Command Prompt it is crazy

29 Apr 2015   #1

Windows 7
HELP!!! My Command Prompt it is crazy

People, my English is not very well.
I am from Brazil!

I have two HDs. Disk C:\ and disk D:\

I open the command prompt. It is in c:\users\julian>

When I digit: cd d:\backup
The prompt return in c:\users\julian

After that, I digit only d:

Than the prompt go to d:\backup

But it is crazy! It as not so.

Can be environment variable?


My System SpecsSystem Spec
29 Apr 2015   #2

W10 Pro desktop, W10 laptop, W10 laptop, W10 Pro tablet (all 64-bit)

If you are on the C: drive, you cannot switch drives and folders at the same time as in cd d:\backup, you need to switch drives first with D: then cd \backup as you discovered.
My System SpecsSystem Spec
29 Apr 2015   #3

Windows 7 Professional 64-bit

Actually, back in the days of FredFlintstone computing with DOS 3.3/DOS 4 and Windows 3.1, a utility called cdd let you do just that - specifiy drive and directory :) [if my memory serves me correctly]
My System SpecsSystem Spec

29 Apr 2015   #4

W10 Pro desktop, W10 laptop, W10 laptop, W10 Pro tablet (all 64-bit)

It's a simple matter to write a batch file to do that:

@echo off
IF %1. == . goto USAGE
cd %2
goto XIT
ECHO Usage: CDD drive path ie CDD D: \Backup
Save the above as cdd.bat.
My System SpecsSystem Spec
29 Apr 2015   #5

Windows 7

I tested like strollin said.

He is right!

First I switch drive and after the directory.

Thanks all.
My System SpecsSystem Spec

 HELP!!! My Command Prompt it is crazy

Thread Tools

Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
Command Prompt: Repeat del command continuosly
Hi All, I'm running a program that parses .csv files and then changes them into ._OK files. This process takes longer when there are a large number of *.OK files in the folder where the files being converted are located. To remedy this I occasionally manually run this command: del *._OK ...
General Discussion
"Copy" command in command prompt generates 0x1a artifact?
Hello Everybody! I don't know if this is a real issue, or just one of those "What the . . . .!!" situations. You judge. Situation: I was working on a batch file that combines two .txt (ASCII?) files created in Notepad to create a composite file, and I noticed something really interesting. ...
command prompt
Hi all i need you help me a thing :cry: I went to use autosave all text on command prompt (CMD), how can i do or use what command prompt cade for mark it autosave when i used command prompt. Example : Color 0a
General Discussion
Run administrative command prompt from command prompt
Ok So I got myself into a unique bind here. I was trying to install some custom system files (for a theme) and I did it wrong and now I cant open explorer.exe . I dont want to goto a backup because this is a easy fix. (in my view). So I need to know how to run command prompt with administrative...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:58.
Twitter Facebook Google+