Windows 10: مشكلة في فتح تطبيفات .hta

Discus and support مشكلة في فتح تطبيفات .hta in Windows 10 Software and Apps to solve the problem; سلام عليكم عندي مشكلة وهي عند فتح ملف .hta تظهرلي قائمة مثل ماهو موضح في الصورة... Discussion in 'Windows 10 Software and Apps' started by Moman Boldom, Dec 8, 2024.

  1. مشكلة في فتح تطبيفات .hta


    سلام عليكم عندي مشكلة وهي عند فتح ملف .hta تظهرلي قائمة مثل ماهو موضح في الصورة

    :)
     
    Moman Boldom, Dec 8, 2024
    #1
  2. Tim A123 Win User

    Task Scheduler having issues running .hta in Windows 10 environment

    Hi,

    We have workstations that need to be restarted at least once a week. We created an .hta file to run. The .hta file consists of a countdown and message that notifies end user that a reboot will take effect after 60 seconds. If they are still working on that workstation they can cancel the .hta and will cancel tasked schedule to be repeated the following week. Since we upgraded our workstations from Windows 8 to Windows 10 Pro 20H2 the tasks scheduler will fail to run. When we try to run the .hta independently it will open but not execute the reboot at the end of the timeout. I was reading online that there is an issue with HTA files and windows 10. If that is the case is there any remediation that can be done. Also, are there alternative types of script that can be ran on task scheduler that can server the same purpose (vscript,bat, etc)
     
    Tim A123, Dec 8, 2024
    #2
  3. PeterCo Win User
    hta script to display animated GIFs in a folder and its subfolders


    Dear Community,

    in the Windows 7 Forum I found a working hta script to display animated GIFs located in a folder:
    https://www.w7forums.com/threads/ani...xplorer.15080/

    Here is the hta script:

    Code:
    Code:
    <html><head><title>Animator</title></head>  <body><script type="text/vbs">  set fso=CreateObject("Scripting.FileSystemObject")  set fldr=fso.GetFolder(".")  for each file in fldr.files  if lcase(right(file.name,4))=".gif" then  document.write "<img src=""" & file.name & """>"  end if  next  </script></body></html>
    Is there any way to modify this script, so it can not only display and animate GIFs of the folder where the hta file is located, but also include every subfolder in this folder?

    In this forum a user posted a solution code to me:
    https://windowsforum.com/threads/hta...4/#post-718548

    Here is his version of the hta script code:

    Code:
    Code:
    <html><head><title>Animator</title></head>  <body><script type="text/vbscript">  set fso=CreateObject("Scripting.FileSystemObject")  set fldr=fso.GetFolder(".")    WalkFolder fldr    Sub WalkFolder(CurrentFolder)  Dim SubFolder  For Each SubFolder In CurrentFolder.SubFolders  WalkFolder SubFolder  Next    Dim CurrentFile  For Each CurrentFile in CurrentFolder.Files  IF lcase(right(CurrentFile.name,4))=".gif" then  document.write "<img src=""" & CurrentFile.name & """>"  end if  Next  End Sub  </script></body></html>
    His version of the hta script code seems to actually find the GIF files of the subfolders, but sadly it fails to correctly display the GIFs of the subfolders. In contrast to that, the GIF files of the current folder (parent folder of the subfolders and the folder, where the hta file is located and executed) are displayed and animated correctly. This screenshot shows, how the GIFs of the subfolders get displayed wrongly (I did not include the working GIFs of the parent folder in the screenshot to avoid copyright issues):


    مشكلة في فتح تطبيفات .hta [​IMG]


    Does anyone know how to modify the script to avoid this issue?

    Best regards,
     
    PeterCo, Dec 8, 2024
    #3
  4. مشكلة في فتح تطبيفات .hta

    Trying to run an HTA gives "This app can't run on your PC"

    Run the following two commands as administrator:

    • Add file type with ftype command:

    • Associate .hta extension with assoc command:

    Then sign out and re-sign in to your account.
     
    Biswapriyo, Dec 8, 2024
    #4
Thema:

مشكلة في فتح تطبيفات .hta

Loading...
  1. مشكلة في فتح تطبيفات .hta - Similar Threads - مشكلة في فتح

  2. مشكلة في تثبيت لعبه

    in Windows 10 Gaming
    مشكلة في تثبيت لعبه: Subject: Issue with Installing Cities: Skylines - False Positive Virus WarningDear Microsoft Support Team,I am trying to install the game Cities: Skylines from the setup file located at E:\Cities_Skylines\Setup.exe, but each time I attempt to install, I receive an error...
  3. مشكلة في فتح تطبيفات .hta

    in Windows 10 Gaming
    مشكلة في فتح تطبيفات .hta: سلام عليكم عندي مشكلة وهي عند فتح ملف .hta تظهرلي قائمة مثل ماهو موضح في الصورة https://answers.microsoft.com/en-us/windows/forum/all/%D9%85%D8%B4%D9%83%D9%84%D8%A9-%D9%81%D9%8A/7131b713-9b3d-4833-91b4-e91d5871efc4
  4. مشكلة في تسجيل الفيديو في Clipchamp

    in Windows 10 Gaming
    مشكلة في تسجيل الفيديو في Clipchamp: عند تسجيل الفيديو باستخدام التطبيق المذكور لا ارى سوى شاشة سوداء عند تشغيل المقطع بعد التسجيل واستطيع سماع الصوت ولكنا لشاشة تبقى سوداء https://answers.microsoft.com/en-us/windows/forum/all/%D9%85%D8%B4%D9%83%D9%84%D8%A9-%D9%81%D9%8A/d1c7e23d-0021-419a-b4ea-eaf903eab679
  5. مشكلة في تسجيل الفيديو في Clipchamp

    in Windows 10 Software and Apps
    مشكلة في تسجيل الفيديو في Clipchamp: عند تسجيل الفيديو باستخدام التطبيق المذكور لا ارى سوى شاشة سوداء عند تشغيل المقطع بعد التسجيل واستطيع سماع الصوت ولكنا لشاشة تبقى سوداء https://answers.microsoft.com/en-us/windows/forum/all/%D9%85%D8%B4%D9%83%D9%84%D8%A9-%D9%81%D9%8A/d1c7e23d-0021-419a-b4ea-eaf903eab679
  6. مشكلة في التنزيل .

    in Microsoft Windows 10 Store
    مشكلة في التنزيل .: تواجهني مشكله اخرى في كل مؤه اقوم فيها بالدخول عللا المتجر و خصيصاً مشكلى عدم ظهور كلمة تثبيت و ان لم يحصل هدا و ظهرت كلمة تثبيت بمجرد النقر عليها يقوم بالتنزيل و بعدها ب فارق مدة من الزمن يقول لي اسف لقد حدثت مشكلة من جهتنا ونحن نخمل على حل دلك , ارجوكم م حل تلك المشكله لقد...
  7. مشكلة في التنزيل .

    in Windows 10 Software and Apps
    مشكلة في التنزيل .: تواجهني مشكله اخرى في كل مؤه اقوم فيها بالدخول عللا المتجر و خصيصاً مشكلى عدم ظهور كلمة تثبيت و ان لم يحصل هدا و ظهرت كلمة تثبيت بمجرد النقر عليها يقوم بالتنزيل و بعدها ب فارق مدة من الزمن يقول لي اسف لقد حدثت مشكلة من جهتنا ونحن نخمل على حل دلك , ارجوكم م حل تلك المشكله لقد...
  8. مشكلة في التنزيل .

    in Windows 10 Gaming
    مشكلة في التنزيل .: تواجهني مشكله اخرى في كل مؤه اقوم فيها بالدخول عللا المتجر و خصيصاً مشكلى عدم ظهور كلمة تثبيت و ان لم يحصل هدا و ظهرت كلمة تثبيت بمجرد النقر عليها يقوم بالتنزيل و بعدها ب فارق مدة من الزمن يقول لي اسف لقد حدثت مشكلة من جهتنا ونحن نخمل على حل دلك , ارجوكم م حل تلك المشكله لقد...
  9. لدي مشكلة في البلوتوث

    in Windows 10 Gaming
    لدي مشكلة في البلوتوث: لدي مشكلة في البلوتوث https://answers.microsoft.com/en-us/windows/forum/all/%D9%84%D8%AF%D9%8A-%D9%85%D8%B4%D9%83%D9%84%D8%A9/cf02e665-a00f-4572-87df-7b1bec6ede07
  10. لدي مشكلة في البلوتوث

    in Windows 10 Software and Apps
    لدي مشكلة في البلوتوث: لدي مشكلة في البلوتوث https://answers.microsoft.com/en-us/windows/forum/all/%D9%84%D8%AF%D9%8A-%D9%85%D8%B4%D9%83%D9%84%D8%A9/cf02e665-a00f-4572-87df-7b1bec6ede07