EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - steforom

Pages: [1]
1
Thank you.

2
I created a folder named "Test" containing :
  - 1 empty folder called "Empty Folder" ... I confirmed without any file in it
  - 1 file called "Test.txt"

Then I used Dir2Dat on the folder "Test" and get :

   <machine name="Test">
      <description>Test</description>
      <rom name="File.txt" size="8666" crc="e32d2a07"/>
   </machine>
   <machine name="Empty Folder">
      <description>Empty Folder</description>
      <rom name="_" size="0" crc="-"/>
   </machine>

The empty folder and the file "_" appear as you explained me in your first post.

What I really want is to work with compressed files containing the whole extracted structure of ISO so I then compressed the content of "Test" folder in a ZIP file. As shown in the picture in previous post, the ZIP contains only 1 folder (still empty) and 1 file.

I then apply Dir2Dat on directory where this ZIP file is stored and get this :

   <machine name="Test">
      <description>Test</description>
      <rom name="File.txt" size="8666" crc="e32d2a07"/>
   </machine>

If I use the scanner with this DAT on the ZIPfile, I get an error saying that the empty folder is unneeded.

I join a ZIP file example in case you want to test.

---

When you say that I need to put a dummy file in the folder, do I need to give this file a specific name ?

Regards.

3
Thank for your answer but it doesn't solve my issue. Maybe I was not so clear in my first post.

For example, I have folder containing :
  - 1 folder : "Empty Folder"
  - 1 file : "Test.txt"

By following what your answered, my DATfile is :

   <machine name="Default">
      <description>Default</description>
      <rom name="File.txt" size="8666" crc="e32d2a07"/>
   </machine>
   <machine name="Empty Folder">
      <description>Empty Folder</description>
      <rom name="_" size="0" crc="-"/>
   </machine>

In this case, I can see the empty folder.

What I want is to have the content of my folder compressed in a ZIP or 7Z file. Everything is on the compressed file (see picture joined) but after launching Dir2Dat, the empty folder is not on the DATfile :

   <machine name="Test">
      <description>Test</description>
      <rom name="File.txt" size="8666" crc="e32d2a07"/>
   </machine>

Regards.

4
clrmame Discussion / Dir2Dat - Empty folders management
« on: 12 May 2020, 10:45 »
Dear all,

I want create DATfile to check extracted files & folders from ISO images.

So I proceed to extraction, make a 7z compression of everything extracted and start Dir2Dat.

Everything is OK except when there are empty folders on the ISO. These empty folders are OK in the 7z file but they don't appear in the DATfile created based on the 7z file.

I checked "Add 0-file for empty folder" but no changes wether checked or not.

Is it possible to take into account these empty folders in a DATfile ? and then avoid error message when checking file with ClrMamePro.

Thanks by advance for your help.

Pages: [1]

Page created in 0.057 seconds with 16 queries.