الانتقال إلى المحتوى

أريد قراءة الـ HDD serial number من خلال Dev 6


جلال المصري

Recommended Posts

  • بعد 2 أسابيع...

i did the following to get the serial number of the HD
- i used the package Text_io to create a batch file , the batcha file has this line
vol c:>c:\tarek.txt
the line returns the serial number of partion C: and stores it in a text file in the HD
- use the built in HOST to call the batch
Host('c:\mybatch.bat');
--then use the TEXT_IO package to read the serial number stored in the file that the batch file created "tarek.txt"
now you can store the content of the file on your database

please if you find any prob , write to me

رابط هذا التعليق
شارك

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية