Solved Can't switch to a dir on my L drive - why?

riffwraith

New member
Member
VIP
Local time
6:06 AM
Messages
240
Hi

I open a command prompt, and type:

C:\Temp

And I am now in that folder

I open a command prompt, and type:

L:\DR

It doesn't switch to that dir

Yes, there is such a folder :)

What am I doing wrong?
 

Attachments

  • cmd.jpg
    cmd.jpg
    26.7 KB · Views: 5

My Computer My Computer

At a glance

W7 64 UltIntel Core i9-7940xGSkill 128GBAMD Radeon RX 560
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
W7 64 Ult
CPU
Intel Core i9-7940x
Motherboard
ASUS x299 TUF
Memory
GSkill 128GB
Graphics Card(s)
AMD Radeon RX 560
Sound Card
RME
Screen Resolution
1920x1080
Hard Drives
5
PSU
BeQuiet!
Case
BeQuiet!
Keyboard
HyperX
Mouse
Logitech
Browser
IE - what else is there?
cd /d l:\dr
 

My Computers My Computers

  • At a glance

    7 X64i5 84002x8gb 3200mhz
    Computer type
    PC/Desktop
    OS
    7 X64
    CPU
    i5 8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Hard Drives
    various
    PSU
    pure power 11 400w cm
    Case
    Coolermaster
    Cooling
    cryorig m9i
  • At a glance

    7x64g54008gb ddr4 2400
    Computer type
    PC/Desktop
    OS
    7x64
    CPU
    g5400
    Motherboard
    ga b365m ds3h
    Memory
    8gb ddr4 2400
    PSU
    xfx pro 450w
Each drive has its own "current" folder and in turn each program has its own current drive, but the "cd" command changes by default only the directory, but not the drive. In the first screeen you're on the same drive, so it's no problem, but in the second you aren't so it appears that nothing happened when in fact it did. Just switch drives with "L:" afterwards and you're there.

Or use the shortcut by SIW2 of adding the "/d" modifier that makes cd change both directory and drive in one go.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Ahhhhh - I see. Thanks both.
 

My Computer My Computer

At a glance

W7 64 UltIntel Core i9-7940xGSkill 128GBAMD Radeon RX 560
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
W7 64 Ult
CPU
Intel Core i9-7940x
Motherboard
ASUS x299 TUF
Memory
GSkill 128GB
Graphics Card(s)
AMD Radeon RX 560
Sound Card
RME
Screen Resolution
1920x1080
Hard Drives
5
PSU
BeQuiet!
Case
BeQuiet!
Keyboard
HyperX
Mouse
Logitech
Browser
IE - what else is there?
Back
Top