Sorry SIW2, I have confused myself!
I have just turned my other computer off but I will see tomorrow if this one liner works [just out of curiosity really]...
That is why it is common practice to remove the \ from %~dp0
I have just turned my other computer off but I will see tomorrow if this one liner works [just out of curiosity really]...
Code:
SET TP=%TP:~0,-1% systeminfo > "%TP%"\My_System_Specs.txt
My Computer
At a glance
Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux...Intel(R) Pentium(R) CPU P6200 @ 2.13GHz4.00 GBIntel(R) Graphics Media Accelerator HD
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- Fujitsu LIFEBOOK
- OS
- Win 7 HP SP1 64-bit Vista HB SP2 32-bit Linux Mint 18.3
- CPU
- Intel(R) Pentium(R) CPU P6200 @ 2.13GHz
- Motherboard
- FUJITSU FJNBB06
- Memory
- 4.00 GB
- Graphics Card(s)
- Intel(R) Graphics Media Accelerator HD
- Sound Card
- [1] Realtek High Definition Audio [2] Intel(R) Display Audio
- Screen Resolution
- 1366 x 768 x 32 bits (4294967296 colors) @ 59 Hz
- Hard Drives
- TOSHIBA MK5076GSX
- Antivirus
- AVG FREE
