 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Windows 7 - libraries and the command line |
12-02-2010
|
#1 | | |
libraries and the command line I am a long time programmer and computer science professor, since 1979.
I grew up with the command line and like it just fine.
But Windows 7 seems to change the GUI way of doing things and not mess with the command line.
Yesterday I was at the command prompt and went to C:\users\Stockwell
and then did a "dir". I saw several directories, but there was no "My Documents" listed. I did
cd "My Documents"
and it worked!
Then I copied over several .xls files from a USB key. I did a dir to see them.
It showed nothing!
Then I ran Excel 2003 (I can't stand Office '07!) to open them -- and they all showed up in My Documents and I opened them.
What the hell gives here?
| My System Specs | | |
12-02-2010
|
#2 | | Windows 7 Ultimate 32bit SP1 |
Did you create another folder called 'My Documents' ? If you did, I would think it would be listed under Documents. (click the arrow next to Documents)
I created a 'My Pictures' folder | My System Specs | | System Manufacturer/Model Number Bruce ... somewhere in his 40's OS Windows 7 Ultimate 32bit SP1 CPU Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz Motherboard INTEL/D975XBX2 Memory 4 GB Graphics Card ATI Radeon HD 2600 Pro Monitor(s) Displays Samsung SyncMaster 914v Screen Resolution 1280 x 1024 Keyboard Standard PS/2 Keyboard Mouse Microsoft PS/2 Mouse PSU Rocketfish 700 W Case G.Skill Gigabyte Chassis Hard Drives 2/500GB each ... ST3500630AS ATA Device.
One is not connected Internet Speed DSL Other Info ATI HDMI Audio |
12-02-2010
|
#3 | | Windows 7 Ultimate 32bit SP1 |
Command line reference A-Z List | My System Specs | | System Manufacturer/Model Number Bruce ... somewhere in his 40's OS Windows 7 Ultimate 32bit SP1 CPU Intel(R) Core(TM)2 Quad CPU @ 2.40GHz, 2400 MHz Motherboard INTEL/D975XBX2 Memory 4 GB Graphics Card ATI Radeon HD 2600 Pro Monitor(s) Displays Samsung SyncMaster 914v Screen Resolution 1280 x 1024 Keyboard Standard PS/2 Keyboard Mouse Microsoft PS/2 Mouse PSU Rocketfish 700 W Case G.Skill Gigabyte Chassis Hard Drives 2/500GB each ... ST3500630AS ATA Device.
One is not connected Internet Speed DSL Other Info ATI HDMI Audio |
12-02-2010
|
#4 | | |

Quote: Originally Posted by Jacee Did you create another folder called 'My Documents' ? If you did, I would think it would be listed under Documents. (click the arrow next to Documents)
I created a 'My Pictures' folder No, I did not create any new directory there.
But it looks like the Documents dir is linked to "My Documents".
I find this totally uncalled for, and causing unneeded confusion. | My System Specs | | |
12-03-2010
|
#5 | | |
"My Documents" what you see in Explorer is a localized name for "Documents" as it is in the file system. When you did a "dir" of your user directory, there was a "Documents" folder correct? That is what you want. Now there is a "My Documents" folder that exists in your user directory, however, it is merely a junction that points to "Documents". So anything you put there will go to "Documents" but you cannot get a directory listing from it. That is why "dir" did not show anything, Excel did because it was looking in the real location. | My System Specs | | System Manufacturer/Model Number Dell Inspiron e1705 OS Windows 7 (7600) x86 CPU Intel Core 2 Duo T7200 (2 GHz) Motherboard Unknown Dell MB Memory 2 GB Graphics Card ATI Mobility Radeon x1400 (128 MB Dedicated) Sound Card SigmaTel HD Audio; Turtle Beach Audio Advantage SRM Monitor(s) Displays Laptop 17" Screen Resolution 1920x1200 Other Info Dell Inspiron Mini 10v (Intel Atom N270 1.6 GHz; 1GB; Windows 7 Ultimate) |
12-03-2010
|
#6 | | Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) |

Quote: Originally Posted by logicearth "My Documents" what you see in Explorer is a localized name for "Documents" as it is in the file system. When you did a "dir" of your user directory, there was a "Documents" folder correct? That is what you want. Now there is a "My Documents" folder that exists in your user directory, however, it is merely a junction that points to "Documents". So anything you put there will go to "Documents" but you cannot get a directory listing from it. That is why "dir" did not show anything, Excel did because it was looking in the real location. +1 | My System Specs | | System Manufacturer/Model Number Dell OP760 OS Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) Memory 8GB Monitor(s) Displays 2 Dell 19" LCD Screen Resolution 1280x1024 Keyboard Dell Mouse Dell Optical Internet Speed 40meg |
12-03-2010
|
#7 | | |

Quote: Originally Posted by logicearth "My Documents" what you see in Explorer is a localized name for "Documents" as it is in the file system. When you did a "dir" of your user directory, there was a "Documents" folder correct? That is what you want. Now there is a "My Documents" folder that exists in your user directory, however, it is merely a junction that points to "Documents". So anything you put there will go to "Documents" but you cannot get a directory listing from it. That is why "dir" did not show anything, Excel did because it was looking in the real location. This type of system behavior is bothersome to me. Sometimes I would rather just stay in Linux where things are understandable (and standard!). Speaking of that -- does Windows 7 Pro offer virtualization? Or is that only available in their Ultimate version? | My System Specs | | |
12-03-2010
|
#8 | | |
You mean virualization as in Windows Virtual PC that will run on all versions? Yes. Download details: Windows Virtual PC
Why don't you stay with Linux then if you cannot understand Windows? | My System Specs | | System Manufacturer/Model Number Dell Inspiron e1705 OS Windows 7 (7600) x86 CPU Intel Core 2 Duo T7200 (2 GHz) Motherboard Unknown Dell MB Memory 2 GB Graphics Card ATI Mobility Radeon x1400 (128 MB Dedicated) Sound Card SigmaTel HD Audio; Turtle Beach Audio Advantage SRM Monitor(s) Displays Laptop 17" Screen Resolution 1920x1200 Other Info Dell Inspiron Mini 10v (Intel Atom N270 1.6 GHz; 1GB; Windows 7 Ultimate) |
12-03-2010
|
#9 | | |

Quote: Originally Posted by logicearth You mean virualization as in Windows Virtual PC that will run on all versions? Yes. Download details: Windows Virtual PC
Why don't you stay with Linux then if you cannot understand Windows? My point is that I do not understand the need for aliases for directories; seems unnecessary and a source of confusion.
I was writing programs, including language compilers, LONG before there WAS a "windows". Back then you had to write programs, you could not buy them. So I wrote a terminal program to allow logging on to remote systems (this was in 1980), and thousands of other programs (many compiled by the compiler I wrote). So, it is disingenuous to insinuate that I "don't understand Windows".
Thanks for the link on the virtual PC. | My System Specs | | |
12-03-2010
|
#10 | | Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) |

Quote: Originally Posted by freedomdoc 
Quote: Originally Posted by logicearth You mean virualization as in Windows Virtual PC that will run on all versions? Yes. Download details: Windows Virtual PC
Why don't you stay with Linux then if you cannot understand Windows? My point is that I do not understand the need for aliases for directories; seems unnecessary and a source of confusion. I understand and agree that this is confusing, however it is done to keep compatibly with older software, so every program out there does not have to be completely re-written just to use Windows 7. 
Quote: Originally Posted by freedomdoc I was writing programs, including language compilers, LONG before there WAS a "windows". Back then you had to write programs, you could not buy them. So I wrote a terminal program to allow logging on to remote systems (this was in 1980), and thousands of other programs (many compiled by the compiler I wrote). So, it is disingenuous to insinuate that I "don't understand Windows". I don't think anyone really understands Windows even the programmers. There are just too many lines of code now-a-days. I continually find new things in software that is 10 years old; example is working with an old Exchange 2000 email system. I was asked about doing some fancy email stuff like you can in Exchange 2010 and I told them you cannot do it in Exchange 2000, when it was designed no-one thought about doing that. Well after some googling and looking around at the Exchange 2000 system there was a way to do what they wanted, it was just burred and really unknown. I called a few of my Exchange Experts (all they do is Exchange) and they never knew about it either. - Just my two cents. | My System Specs | | System Manufacturer/Model Number Dell OP760 OS Windows 7 Enterprise (x64); Windows Server 2008 R2 (x64) Memory 8GB Monitor(s) Displays 2 Dell 19" LCD Screen Resolution 1280x1024 Keyboard Dell Mouse Dell Optical Internet Speed 40meg libraries and the command line problems? All times are GMT -5. The time now is 07:47 PM. |  |