Solved Cannot get path to work.

darkhorse

New member
Power User
Local time
8:52 AM
Messages
514
Location
Denmark
Hi.
I need to be able to make a path to a file.
The path I have made doesn't work.

I have attached what I have done.

What am I lacking?.
 

Attachments

  • adb.jpg
    adb.jpg
    122.7 KB · Views: 32

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Homemade
OS
Windows 7 Ultimate
CPU
E7300
Motherboard
ASUS P5Q DeLuxe
Memory
4g
Graphics Card(s)
NVIDIA GeForce 7300 LE
Sound Card
N/A
Monitor(s) Displays
Acer
Screen Resolution
1600x1200
Hard Drives
Samsung HD503HI ATA Device
PSU
Seasonic
Case
ATX
Cooling
FAN
Keyboard
Logitech
Mouse
HP
Internet Speed
20/2
Antivirus
MSE
Browser
IE9, Chrome, Firefox
Darkhorse, system variables work differently. What you can do is to append to your %PATH% statement
to add the full path to the executable to the end of the existing path statement. But a caution, the path statement has a limitation of around 256 characters so it could mess things up if you added to the path statement of variables.

Your file is not in the existing path so that's why it can't be found.

Rich
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Laptop Qosimo X870
OS
Windows 7 Pro x64 SP1
CPU
Intel Core I7
Motherboard
Toshiba Qosmio
Memory
16 Gigs
Graphics Card(s)
NVIDIA GeForce GTX 670M
Monitor(s) Displays
17.7" laptop
Screen Resolution
1600 x 900
Hard Drives
256 Gig SanDisk SSD for C
256 Gig Intel SSD for D
Internet Speed
50/25 FIOS
Antivirus
Vipre (all you can eat for 10 machines)
Browser
IE and FF
Other Info
I have dos 6.22, wfwg 3.11, win98, 2000 and xp VHD's available for testing. MS's Virtual PC works great.
Many thanks for your reply.

Is it such ?:

Code:
C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\IDM Computer Solutions\UltraCompare\;D:\Program Files\Android\android-sdk\platform-tools\adb.exe
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Homemade
OS
Windows 7 Ultimate
CPU
E7300
Motherboard
ASUS P5Q DeLuxe
Memory
4g
Graphics Card(s)
NVIDIA GeForce 7300 LE
Sound Card
N/A
Monitor(s) Displays
Acer
Screen Resolution
1600x1200
Hard Drives
Samsung HD503HI ATA Device
PSU
Seasonic
Case
ATX
Cooling
FAN
Keyboard
Logitech
Mouse
HP
Internet Speed
20/2
Antivirus
MSE
Browser
IE9, Chrome, Firefox
Many thanks for your reply.

Is it such ?:

Code:
C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\IDM Computer Solutions\UltraCompare\;D:\Program Files\Android\android-sdk\platform-tools\adb.exe

all command line files that include spaces in directories require enclosure in " marks.

the file name adb.exe is not necessary if you are trying to set the path to include thedirectory where adb.exe is located.

Rich
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Laptop Qosimo X870
OS
Windows 7 Pro x64 SP1
CPU
Intel Core I7
Motherboard
Toshiba Qosmio
Memory
16 Gigs
Graphics Card(s)
NVIDIA GeForce GTX 670M
Monitor(s) Displays
17.7" laptop
Screen Resolution
1600 x 900
Hard Drives
256 Gig SanDisk SSD for C
256 Gig Intel SSD for D
Internet Speed
50/25 FIOS
Antivirus
Vipre (all you can eat for 10 machines)
Browser
IE and FF
Other Info
I have dos 6.22, wfwg 3.11, win98, 2000 and xp VHD's available for testing. MS's Virtual PC works great.
The path to a file includes the complete folder hierarchy for the system to locate the file but does not include the filename itself. Therefore, in order for adb.exe to be found via the PATH environment variable, you need to set it like so:
Code:
C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\IDM Computer Solutions\UltraCompare\;D:\Program Files\Android\android-sdk\platform-tools\
In addition, adb.exe MUST exist in that folder.
 

My Computer

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.
Many thanks gent's, now it works :D
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Homemade
OS
Windows 7 Ultimate
CPU
E7300
Motherboard
ASUS P5Q DeLuxe
Memory
4g
Graphics Card(s)
NVIDIA GeForce 7300 LE
Sound Card
N/A
Monitor(s) Displays
Acer
Screen Resolution
1600x1200
Hard Drives
Samsung HD503HI ATA Device
PSU
Seasonic
Case
ATX
Cooling
FAN
Keyboard
Logitech
Mouse
HP
Internet Speed
20/2
Antivirus
MSE
Browser
IE9, Chrome, Firefox
Back
Top