Solved HDD names in XP mode and excel 4.0

Abudirk

New member
Local time
9:33 AM
Messages
3
I have many excel 4.0 macro's and therefore installed excel 4.0 under Windows 7 in XP mode. However, HDD's in XP mode have complicated names (e.g. "D on xx PC") where xx is the username under Windows 7. The excel macro recognizes no such HDD names, it is used (as I am) to C: or D: etc.

Is there a solution for this problem other then spending ages in rewriting these macro's in Virtual Basic or some other tragedy?
 

My Computer My Computer

At a glance

Ultimate x64
Computer Manufacturer/Model Number
Lenovo W700
OS
Ultimate x64
Maybe I don't understand the qustion correctly but on my machine, the C: drive in the XP Mode VM is C:. Is it possible for you to right click on the drive in My Computer and select rename the rename it to C:? Where is it that you are seeing the complicated names for the drives?
 

My Computer My Computer

At a glance

W10 Pro desktop, W11 laptop, W11 Pro tablet (...3.7Ghz 8700K i7, i7-11800H, i7-1065G716G desktop, 16G laptop, 4G tabletAMD Radeon RX580, RTX 3060, Intel Iris Plus
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built desktop, Dell G15 5511 Gaming laptop,MS Surface Pro 7 tablet
OS
W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
CPU
3.7Ghz 8700K i7, i7-11800H, i7-1065G7
Motherboard
ASUS TUF Z370-Pro Gaming in desktop
Memory
16G desktop, 16G laptop, 4G tablet
Graphics Card(s)
AMD Radeon RX580, RTX 3060, Intel Iris Plus
Sound Card
High Definition Audio (Built-in to mobo)
Monitor(s) Displays
Samsung U32J59 32" (2x), 15.6", 12"
Screen Resolution
3840x2160, 3840x2160, 1920x1080, 2160x1440
Hard Drives
500G SSD for OS; 2T, 10T & 15T HDDs for Data on Desktop, 1TB SSD laptop, 128G SSD tablet.
PSU
Corsair CX 750M
Case
Antec 100
Cooling
CM 212+
Keyboard
IBM Model M - used continuously since 1986
Mouse
Microsoft Pro IntelliMouse
Internet Speed
400M down 8M up
Antivirus
Windows Defender
Browser
FireFox
Other Info
Built my first computer (8Mhz 8088cpu, 640K RAM, 20MB HDD, 2 360K floppy drives) in 1985 and have been building them for myself, relatives and friends ever since.
complicated drive letters only in XP mode

Thank you for your reply. In explorer in Windows 7 all drives have `normal` letters (C: D: etc.) it is only in the XP mode that the names of all drives become complicated. In fact it mentions a 3½ floppy (A: drive although I don't have such a drive on this (Lenovo W700) Laptop. Under the explorer in XP mode it reads (somewhat shortened) as follows:

Desktop
My documents
+3½ Floppy (A: )
+Local Disk (C: )
+Repair disk Windows 7 64-bit (D: )
+Control Panel
+C on XX-PC
+D on XX-PC
+E on XX-PC
+F on XX-PC
+G on XX-PC
+Shared Documents
+XPMUser's Documents
My Network Places
Recycle Bin

I have tried to rename "D on XX-PC" (intending to rename it as "D:") but the rename option remains grey (that is non accessible) when trying to do so.

I will be grateful for other suggestions.
 
Last edited:

My Computer My Computer

At a glance

Ultimate x64
Computer Manufacturer/Model Number
Lenovo W700
OS
Ultimate x64
Open a Command Prompt in XP Mode and try this:

net use Z: \\hostname\sharename /user:userid password

You must have the drive you want to access shared on the host computer.

hostname is the name of the host computer
sharename is the name of the share you setup on the host computer
userid is the userid (account name) you login to the host computer with
password is the password you login with

My host (Win 7) computer is Dell-P370 and I setup shares for all the drives/partitons I have on it as:

Dell_C
Dell_D
Dell_E
etc.

(ps: I also label my drives that way so they are easy to find, no matter how or where I access them)

So, if my userid and password are owner and super10

My command would look like this:
Code:
 net use Z: \\dell-p370\dell_c /user:owner super10
To detach the Z: drive, enter net use z: /d

Put the net use command in a batch file and add a link to it in the Startup folder and it will run automatically a XP Mode boot.
 

My Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Solution doesn't work, Excel appears to be the problem

Thank you for your assistance. I had found also an alternative but this didn't work either as for some strange reason my excel macro doesn't wish to recognize directories or even filenames under the XP mode (mind you, this is excel 4.0 from 1992 I believe). So, now I will have to find a forum suitable to this problem. But thank you anyway.
 

My Computer My Computer

At a glance

Ultimate x64
Computer Manufacturer/Model Number
Lenovo W700
OS
Ultimate x64
Back
Top