command line help
Moderator: Moderators
command line help
i've been using batch files with NESASM to make things easier for me. what would be really great is if i knew of a command which would enable me to create a file with the "Author" detail in it's properties already set to something. does such a command exist?
Oh, those. As far as I can tell, the "summary" tab of Windows XP's file properties window is stored in an NTFS alternate data stream. These won't get preserved when you send the file through the Internet or put it on a FAT-formatted drive such as a USB or SD memory card.Roni wrote:i mean Windows file properties
like where it says "date modified" , "author", "track number", etc.
i believe it might be called "metadata"
i might be wrong, though
On my hard disk, roms I wrote are in E:\nesdev\%projectname%, and other roms are in E:\games\nes.
- SecretServiceDude
- Posts: 99
- Joined: Wed Oct 22, 2008 3:49 pm
- Location: Los Angeles, CA
Have you taken a look at the Win32 function SetFileTime()?
Sorry for not including a direct link, but the parentheses in the URL mess up the [url] tags.
Anyhow, you could write a simple Win32 console application that uses SetFileTime() to adjust the "date modified" field, then call that application from your batch file.
Code: Select all
http://msdn.microsoft.com/en-us/library/ms724933(VS.85).aspxAnyhow, you could write a simple Win32 console application that uses SetFileTime() to adjust the "date modified" field, then call that application from your batch file.
You'd have to write a Win32 console program that manipulates
the alternate data stream \005SummaryInformation through some COM interface.
the alternate data stream \005SummaryInformation through some COM interface.
- SecretServiceDude
- Posts: 99
- Joined: Wed Oct 22, 2008 3:49 pm
- Location: Los Angeles, CA
You clever devil, using "%28" and "%29" to encode the parentheses in the URL so that the [url] tags work properly. I was going to ask how you did that, but hitting the quote button on your post revealed your wizardry.tepples wrote:You'd have to write a Win32 console program that manipulates
the alternate data stream \005SummaryInformation through some COM interface.