long file name


G

Guest

Hello to everybody, i've encountered a problem with a batch file running on a windowsxp pro pc. After some check,path or permissions, i've decided to copy the batch file to my computer in oreder to find a solution. Surprise, on my computer the procedure works. The batch file is able to copy the file and does not to truncate the file. What is happen? both the pc are windows xp pro, installed from the same cd. Thank you for helping me, Max
 
Ad

Advertisements

K

Kaylene aka Taurarian

Not sure if this is helpful but I found it sometime ago on the Norton's site
about long file names, forgot to keep the link


If you are using Windows NT/2000/XP and have it set to use NTFS, a registry
value that determines whether NTFS generates a short file name in the 8.3 naming
convention for each long file name must be set to 0. This setting is the default
setting when you install the operating system. If this registry value is set to
1, NTFS will not create the short file name.

It is possible that this value could have been changed - either manually or by a
program..

To check the registry key and change it if necessary:

1. Click Start>Run.
2. Type regedit and then click OK.
3. Navigate to the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Filesystem
4. In the right hand pane, right-click the following value, and then click
Modify:
NtfsDisable8dot3NameCreation
5. Change the number in the Value data box to: 0
Please note that this is a DWORD value, not a String or Binary value.
6. Click OK.
7. Click Registry, and then click Exit.



Disclaimer: Modifying the registry can cause serious problems that may require
you to reinstall your operating system. Use the information provided at your own
risk.


Max said:
Hello to everybody, i've encountered a problem with a batch file running on a
windowsxp pro pc. After some check,path or permissions, i've decided to copy the
batch file to my computer in oreder to find a solution. Surprise, on my computer
the procedure works. The batch file is able to copy the file and does not to
truncate the file. What is happen? both the pc are windows xp pro, installed
from the same cd. Thank you for helping me, Max
 
G

Guest

Thank you but the two pc have the same value in the regkey and is set to 0. Any idea
Thank you very much Ma
 
Ad

Advertisements

K

Kaylene aka Taurarian

Sorry Max, that's all the information I had on the long filenames. Maybe someone
else has another idea.
Kaylene
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top