How to create a .bat file that references another hard drive?
I am trying to create a simple .bat file that creates a text file listing all the files in the folder designated on the top line. However when I tried the version below, he created a list of the files on my desktop instead. How can I make 'look' the path on my internal D drive?
CD D:\inetpub\kthings
dir > C:\tftDocuments.txt
Start C:\tftDocuments.txt
Hello
Information about batch files
http://www.computerhope.com/batch.htm
First, you need to access the real player if you're not already on it.
D:
CD D:\inetpub\kthings
dir > C:\tftDocuments.txt
You can display on the screen or have an application to display.
TYPE tftDocuments.txt
Or
Notepad tytDocuments.txt
-------------------------------------
Maybe an application such as this one would be useful.
KarenWare - printer - free directory
http://www.KarenWare.com/PowerTools/ptdirprn.asp
I hope this helps.
Tags: Windows
Similar Questions
-
I have an external hard drive that I loaded all my important files on all my computers. There is a file that I put in place restrictions to access, but it has been so long that I don't know how I did it or how to remove it. How can I remove restrictions file from an external hard drive so I can view or access these files on any computer instead of just one file has first been created? The computer that I created the folder of running Windows Vista. I am not able to access files in this folder from any other computer. It gives me the following error: "E:\School is not accessible. Access is denied. »
Hi mango127,
I suggest that you give all permissions for everyone on this folder and check if it works.
"Access denied" error message when you try to open a folder
http://support.Microsoft.com/kb/810881
How to capture a file or a folder in Windows XP
http://support.Microsoft.com/kb/308421
If the previous step fails then I would suggest that you take the backup of this folder on the computer you were accessing and later to format the hard drive.
How to use disk management to configure basic disks in Windows XP
-
How can I retrieve a file psd of my hard drives?
Hi all
How can I retrieve a file psd of my hard drives?
Hello
You can download a PSD file on your creative cloud by clicking on the download PSD icon in the control panel of the extract. If the PSD comps are developed by another person or a team, you can them be shared on creative cloud. YOUCAN do to download files and upload them to your account either directly by logging into creative cloud or through the Panel pulls in Dreamweaver.
As extracted from Control Panel is available in 2014 CC DW and especially version I don't think you should have no problem installation application cloud creative at work.
Concerning
Vivek
-
How do we install Adobe Creative cloud on another hard drive?
How do we install Adobe Creative cloud on another hard drive? I am trying to install it on the ssd, but I don't know how I had to do!
Hi Pedro,
You can change the installation location through the desktop Adobe CC application.
Click the gear on the top icon right > select Preferences > section under the creative cloud, you can set the installation location.
Kind regards
Sheena
-
Satellite P750 PSAY1A: how to create the recovery Toshiba on the new HARD drive partition
Hello
I have an old Toshiba Satellite P750 (PSAY1A-01Y022). I just upgraded my memory from 4 GB to 8 GB and am preparing to take my 500 GB HARD drive 1 TB. I had to order the disk online and wait to happen.
I always try to understand how to create the arrival of my new HARD drive Toshiba Recovery Partition. I do the same thing for an old book, I handled based on something similar to it's original factory State.
I have reflected on the recovery partition, but does not know how it was created. It is not NTFS. Does anyone have experience in the creation of a Toshiba Recovery on a new HARD drive Partition?
And the help is very appreciated.
Thanks and regards,
DineshRecovery partition can be created when you use the original Toshiba Recovery disk and install recovery image. Before the partitions to boot OS install will be automatically created, recovery image copied on a recovery and then partition as last step recovery image installation starts.
A sort of migration of files from one to the other HARD disk is not solution.
Only for laptop with factory will work and the usable recovery partition.
-
How can I search for files on my external hard drive WD My Passport, using spotlight?
Hello
I bought my first apple product, a MBP of the retina and has opened and updated at the El Capitan 10.11.6 a few hours ago.
I need exclusively for music (traktor and ableton) and research songs and samples is essential.
First slap my face was when I read on school drop-outs and questions with traktor and every update after that Yosemite 10.5 and I could have downgrade to it, even if I have no idea how.
Second slap in the face and the question, I'm looking for help, was when I started to use spotlight to find the pieces of my external WD My Passport hard drive, only to discover this method of index (confidentiality, etc.) does not work and that there may be no solution for this problem.
Can I do to solve this problem permanently? Any other tool of research, I can use instead of spotlight which will do the work?
I was really happy with this purchase, but I have my doubts now and I'm starting to think that I have spent a fortune for nothing.
Please, if you have any suggestions, explain in detail because I'm not familiar with the Apple OS.
Thanks in advance!
FWIW, Spotlight can certainly index external drives.
Rebuild the index on your Mac - Apple Support Spotlight
You can use EasyFind since the alternative App Store as a research tool.
-
How to copy the itunes file on a portable hard drive in Vista
Can you give me the steps for the copy of my file iTunes on a portable hard drive? I use Windows Vista.
Hello
iTunes for Windows: moving your iTunes Media folder
http://support.Apple.com/kb/ht1364
iTunes: back up your iTunes library by copying to an external hard drive
-
SOS! HOW CAN I MOVE MY PROJECT PPCS6 IN ANOTHER HARD DRIVE?
Help, please!
I have the first of my documentary in 10 days and it is not yet finished. I worked full time... but HARD DISC of the PC makes weird noises and often fails causing the computer restart... I'm afraid of that HARD drive is about to break up permanently soon.
I can't risk and I bought a new HARD drive... but I'm not sure of my PPCS6 project will work well if I start working in a new HARD drive.
I read all along and only solution I found is to the 'project leader'... but then it says "size of project result (estimate): 330 GB"... who is just crazy.»
I'm now back up the preview of the project files folder to the new HARD drive, but I don't know that he's going to be enough.
Please, I beg you! Any who put little light in this complicated situation!
How can I continue to work in my project to a new HARD drive and finish my documentary?
Thanks in advance for your help, it is really necessary now!
Miguel
Welcome! Yes, the project file contains everything you have changed: the sequence, effects, and transitions that you have applied, and also titles that you have created. If you open the project copied on the same pc with the same version first, but HARD drive different, the project will work the same as it used to.
First also offers a lot of customization, as rendering, effect presets, keyboard presets, presets layout sequence, custom workspace (the window layout) that are not only related to a project, but to the program in general. You can save these files too. in the folder
User > Documents > Adobe > Premiere Pro > 8.7 or 6 > user profile >
You find presets for effects (.prfpset)
Keyboard layouts (file Win)
Personalized workspace (record layout)
However, this is only relevant if you reinstall first or your entire system or you want to work in another computer with the same settings.
-
How can I safely move a program to another hard drive partition?
My C:\ drive becomes low in space so I want to move some programs on my external hard drive. Can I do this without any problem?
You can install programs on an external hard drive. Moving programs is a little more complicated. You must install them out of their current location and re - install the new.
You want to do it "without problems". It is not so easy. If the program is correctly installed on the external drive and at a later date, the unplugged drive problems might appear. To be re-connected, in some circumstances, the player will be given a letter from different player than before. The program will become unusable until this that deleted and reinstalled. Similar problems can occur according to the habits of functioning.
So, Yes, it is possible, but it is not recommended.
Tom Ferguson
-
How to create a .bat file to call WMIC Path
OFF @echo
color 0a
CLS
: Start1
echo 1. Alias available list WMIC
echo 2. WMIC Path Win32_NetworkAdapter
echo 3. WMIC Path Win32_Processor32_64
echo 4. WMIC Path Win32_Hardware info
echo 5. WMIC Path Win32_LoadPercentage
echo 6. WMIC Path Win32_DiskPartitionecho 7. WMIC Path Win32_Network\DNS
echo 8. WMIC Path Win32_Processid
echo 9. WMIC process list
echo workingsetsize WMIC 10.
echo 11.WBEMTest.exe
ECHOecho 12. Return to the main Menu
echo 13. Output
ECHOecho.
echo.
echo enter choice.
SET /P variable =
IF % variable % is 13 GOTO end
IF % variable % is 12 menu GOTO
IF % variable % is 11 GOTO WBEMTest
IF % variable % is 10 GOTO workingsetsize
IF % variable % is 9 GOTO processsort
IF % variable % is 8 Processid GOTO
IF % variable % is 7 GOTO Network\DNS
IF % variable % is 6 GOTO disk partition
IF % variable % == 5 GOTO LoadPercentage
IF % variable % is 4 GOTO Hardware
IF % variable % is 3 GOTO Processor32_64
IF % variable % == 2 GOTO NetworkAdapter
IF % variable % is 1 alias GOTO: alias
off @echo
color 0a
CLS
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /F "ignore = 1 tokens = 1, 5" %% IN (' WMIC / NameSpace:\\root\CLI path MSFT_CliAlias Get FriendlyName ^, target ^ |) FIND "*"') Alias.%%A=%%B SET.
FOR /F "tokens = 2, 3 delims is." %% IN ("SET Alias"))
The VALUE "" _Alias = %% has "."
SET _Alias =! _Alias: ~ 0, 20.
ECHO! _Alias! = %%B
)
ENDLOCAL
echo.
echo export send to c:\microsoft_scriptconsole\aliases.txt
echo.
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /F "ignore = 1 tokens = 1, 5" %% IN (' WMIC / NameSpace:\\root\CLI path MSFT_CliAlias Get FriendlyName ^, target ^ |) FIND "*"') Alias.%%A=%%B SET.
FOR /F "tokens = 2, 3 delims is." %% IN ("SET Alias"))
The VALUE "" _Alias = %% has "."
SET _Alias =! _Alias: ~ 0, 20.
ECHO! _Alias! = %%B
) > c:\microsoft_scriptconsole\aliases.txt
ENDLOCAL
launch CMD. EXE
cd\
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: Network card
WMIC Path Win32_NetworkAdapter where "PhysicalAdapter = TRUE" Get List
echo.
echo export send to c:\microsoft_scriptconsole\PhysicalAdapter.txt
echo.
WMIC Path Win32_NetworkAdapter where "PhysicalAdapter = TRUE" Get List > c:\microsoft_scriptconsole\PhysicalAdapter.txt
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: Processor32_64
OFF @ECHO
color 0a
CLS
echo.
WMIC Path Win32_Processor get the AddressWidth List
echo.
echo export send to c:\microsoft_scriptconsole\Processor32_64.txt
echo.
WMIC Path Win32_Processor get the AddressWidth List > c:\microsoft_scriptconsole\Processor32_64.txt
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: Material
off @echo
color 0a
CLS
echo read hard drive information
echo.
hard drive WMIC get name, size, model List
echo.
echo.
echo export send to c:\microsoft_scriptconsole\DiskDriveModel.txt
echo.
hard drive WMIC get name, size, model List > c:\microsoft_scriptconsole\DiskDriveModel.txt
echo.
echo press ENTER to get the disc manufacturer
pause > null
Echo.
Provider data Echo Get
echo.
WMIC csproduct get name, seller, identifyingNumber List
echo.
echo.
echo export send to c:\microsoft_scriptconsole\vendor.txt
echo.
WMIC csproduct get name, seller, identifyingNumber List > c:\microsoft_scriptconsole\vendor.txt
echo.
echo press ENTER to get the data from the Bios
pause > null
echo.
echo to obtain the data from the Bios
echo.
WMIC bios get name, serial number, version
echo.
echo export send to c:\microsoft_scriptconsole\BiosData.txt
echo.
WMIC bios get name, serial number, version > c:\microsoft_scriptconsole\BiosData.txt
echo.
echo press ENTER for TotalPhysicalMemory
pause > null
echo.
echo TotalPhysicalMemory get
WMIC COMPUTERSYSTEM get TotalPhysicalMemory, Caption List
echo.
echo.
echo export send to c:\microsoft_scriptconsole\TotalPhysicalMemory.txt
echo.
WMIC COMPUTERSYSTEM get TotalPhysicalMemory, legend List > c:\microsoft_scriptconsole\TotalPhysicalMemory.txt
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: LoadPercentage
off @echo
color 0a
CLS
echo.
Percentage of CPU load get echo
WMIC Path Win32_Processor get the LoadPercentage List
echo.
echo export send to c:\microsoft_scriptconsole\LoadPercentage.txt
echo.
WMIC Path Win32_Processor get the LoadPercentage List > c:\microsoft_scriptconsole\LoadPercentage.txt
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: Disk partition
off @echo
color 0a
CLS
disk partition get echo
echo.
WMIC Path Win32_DiskPartition where "BootPartition = true and PrimaryPartition = true' Get DeviceID List
echo.
echo.
echo export send to c:\microsoft_scriptconsole\DiskPartition.txt
echo.
WMIC Path Win32_DiskPartition where "BootPartition = true and PrimaryPartition = true' Get DeviceID List > c:\microsoft_scriptconsole\DiskPartition.txt
echo.
echo press ENTER for LogicalDiskToPartition
pause > null
echo LogicalDiskToPartition Get
echo.
WMIC Path Win32_LogicalDiskToPartition get history ^, Dependent List
echo.
echo.
echo export send to c:\microsoft_scriptconsole\LogicalDiskToPartition.txt
echo.
WMIC Path Win32_LogicalDiskToPartition get history ^, Dependent List > c:\microsoft_scriptconsole\LogicalDiskToPartition.txt
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: Network\DNS
off @echo
color 0a
CLS
echo DNSHostName get
echo.
WMIC Path Win32_NetworkAdapterConfiguration description ^, DNSHostName ^, DNSServerSearchOrder Format:List
echo.
echo.
echo export send to c:\microsoft_scriptconsole\DNSHostName.txt
echo.
WMIC Path Win32_NetworkAdapterConfiguration description ^, DNSHostName ^, DNSServerSearchOrder Format:List > c:\microsoft_scriptconsole\DNSHostName.txt
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: Processid
off @echo
color 0a
CLS
echo.
WMIC Path Win32_process get Caption, Processid, Commandline / Format: List
echo.
echo.
echo export send to c:\microsoft_scriptconsole\Processid.txt
Echo.
WMIC Path Win32_process get Caption, Processid, Commandline / Format: List > c:\microsoft_scriptconsole\Processid.txt
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: processsort
off @echo
color 0a
CLS
echo.
WMIC Path Win32_process. Sorting
echo.
echo.
echo export send to c:\microsoft_scriptconsole\processsort.txt
echo.
echo set to import Excel Format
echo.
WMIC Path Win32_process. Sort > c:\microsoft_scriptconsole\processsort.txt
Echo.
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: workingsetsize
off @echo
color 0a
CLS
echo.
WMIC process get workingsetsize, line of list command
echo.
echo export send to c:\microsoft_scriptconsole\workingsetsize.txt
echo.
WMIC process is workingsetsize, command-line list > c:\microsoft_scriptconsole\workingsetsize.txt
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: WBEMTest
off @echo
color 0a
CLS
echo.
Start/wait WBEMTest.exe
echo.
Echo completed...
ECHO.
echo press ENTER to access the menu WMIC
echo.
pause > null
GoTo Start1: menu
Echo completed...
ECHO.
echo press ENTER to access the menu
echo.
pause > null
Goto menu: output
Echo completed...
ECHO.
echo press ENTER to access the menu
echo.
pause > null
Goto menuHello
Welcome to Microsoft Windows 7 answers Forum!
Thank you for visiting the Microsoft answers Forum.
Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited to the audience of developers on MSDN. Please post your question in the MSDN Forum. You can follow the link to your question:
http://social.msdn.Microsoft.com/forums/en-us/VSX/threads
Hope this information is useful.
-
I have reimagee my drive when windows would'nt opens and the thought that I was using back more recent. Out of tour it was months so I lost 5 months new files, more what was there. How / if can I get back them?
OK, that seems to be the question because I didn't get anything to try with the software. Thanks a lot guys.
-
Just need to get my paid, back of the Vista.
Hello
Contact the manufacturer of the laptop computer and ask them to send you to vista recovery disks to reinstall the operating system back as it was when you bought it
they do it for a nominal cost of $
or borrow a vista microsoft dvd; not a HP, Acer recovery disk etc
Make sure that you borrow the correct 32-bit or 64-bit microsoft dvd to your computer
they contain all versions of vista
This is the product key that determines which version of vista is installed
http://www.theeldergeek.com/Vista/vista_clean_installation.html
How to replace Microsoft software or hardware, order service packs and replace product manuals
-
How can I create a pdf file that is read-only as a resume so that no one can change it
How can I create a pdf file that is read-only as a resume so that no one can change it
You require the Acrobat application for this, see this KB document for the parameters to restrict modification of a PDF Acrobat help. Securing PDF files with passwords.
Let me know if you have any additional questions.
Kind regards
Nicos
-
How to create a VPN file .pcf for the CISCO VPN CLIENT software profile
Dear all
How to create a VPN file .pcf for the CISCO VPN CLIENT software profile
Concerning
Hi Imran,
Can't do much about that because it depends on what authenticate you the VPN server and how the settings. But let me introduce you to the memory layout. Once you install and open a VPN client. Press it again and it opens up a new page for the VPN config.
Example of configuration as it is attached. But it differs depending on the configuration of your vpn server.
Once you create and save this profile. Your FCP file is stored.
Please assess whether the information provided is useful.
By
Knockaert
-
Which product should I create a PDF file that I can put on my website for people to sign?
Which product should I create a PDF file that I can put on my website for people to sign?
Hi pattiw97437213,
You can create interactive PDF forms using Acrobat DC & then post it on the Web site.
See Help below links for reference: -.
Kind regards
Nicos
Maybe you are looking for
-
McAfee Site Advisor does not work with Firefox 6.0.1
Different Firefox users have reported not being able to use McAfee Site Advisor with different versions of Firefox. I have the version update of Firefox (6.0.1) and have been able to use the Site Advisor until September 3, when I renewed my subscript
-
Hello, I recently got a 3510 e deskjet all-in-one. the scanner does not work. message arrives and says that the componet scanner is broken. turn, then turn it on again. I tried and still says the same thing. has obtained a new driver for it and alway
-
HP Pavilion e121so (G2A80EA #UUW) driver problem
I bougt garage this laptop today, but he had windows 8, which I don't like! so I formatted the hard drive and installed windows 7 ultimate 64-bit, that's where the problems started... I can't find the drivers for these devices: (see photo) If anyone
-
Zeros in front of a filling line
I need fill a string with zeros on the left. Example: 2 002, 4F would be 04F. I'm trying to cushion just a string, I am on the format string and I tried x 03%, but this does not work. Any suggestions?
-
How can I change the font size so I can print the HCFA 1500 claim for use with computer form mobile medical software is gateway