Skip to main content
16 events
when toggle format what by license comment
Jun 28, 2023 at 9:47 comment added NocTurn Another option to save you a line, you can do E: && cd \MyData
Dec 8, 2022 at 11:20 audit First answers
Dec 8, 2022 at 11:20
Dec 6, 2022 at 23:36 history edited Blindspots CC BY-SA 4.0
added "other approaches" and popd
Dec 6, 2022 at 20:57 history edited Blindspots CC BY-SA 4.0
edited to emphasize the disconnect between the pseudo-CWD's and windows own CWD
Dec 6, 2022 at 20:01 comment added printf Yet another option is to use the pushd command, which can change both drive and directory: pushd E:\ or pushd E:\mydata etc. (You can then later use the popd command to return to the original drive/directory.)
Dec 6, 2022 at 17:47 history edited Toby Speight CC BY-SA 4.0
Spelling and grammar
Dec 6, 2022 at 17:47 history edited Toby Speight CC BY-SA 4.0
Spelling and grammar
Dec 6, 2022 at 17:26 history edited Blindspots CC BY-SA 4.0
Simplify explanation. Provide additional information about what underpins the behavior.
Dec 6, 2022 at 16:25 comment added hobbs Lots of fun stuff that's been forgotten. Related to this, a path of E:something.txt refers to a file in the current directory on E:, which may be different from the root :)
Dec 6, 2022 at 0:58 history edited Blindspots CC BY-SA 4.0
had a typo in example, where I showed the directory as `C:\` when it would in fact have been `C:\Users\jessy\`
Dec 5, 2022 at 20:30 comment added n0rd Or just start using Powershell already where cd e:\ would work.
Dec 5, 2022 at 17:46 comment added Jim Davis Minor correction: E:\> cd C:\Users\jessy actually changes the "current" directory on drive C: to \Users\jessy -- so even though you're still on drive E:, the following C: command would put you into C:\Users\jessy.
Dec 5, 2022 at 3:55 vote accept u20210512
Dec 5, 2022 at 2:48 history edited Blindspots CC BY-SA 4.0
Modified based on @Señor_CMasMas edits
Dec 5, 2022 at 2:28 history edited Señor CMasMas CC BY-SA 4.0
Added helpful information on the -D flag.
Dec 5, 2022 at 2:21 history answered Blindspots CC BY-SA 4.0