none
Make a Startup Temporary files

    Question

  • hey guys hello!!

    O.K !

    I Think you know about Startup Folder, that allow you to make files that running every time the windows start!

    the question is, how can i  make the files that inside the startup folder to delete them self in one time after the files start with  windows startup without doing it manually?

    .................

    for example: i put video inside the folder, it's usual that file will running every time windows startup, so I want this video 

    delete him self after i close it from player application!

    ..........

    maybe this is strange idea, but i'm sure it can be done!

    and i'm sorry for my weak english!!

    Tuesday, November 12, 2013 10:22 PM

Answers

  • or what do you think or I'm wrong!?

    What type of clip is it? .avi? .wmp? other?
    Which program do you use to play the clip?

    1- mp4

    2- i'm using jetvideo player!

    so is there any diffrent between the player to be working !?

    Let's assume that you have a file called clip.mp4. I would like you to perform this test:

    1. Click the Start globe, then type cmd.exe in the Search box and press Enter.
    2. Type this command and press Enter:

        "c:\MyVideos\clip.mp4"

    What exactly happens after you press Enter? Can you type things immediately in the black screen or are you prevented from typing until the clip has finished playing?

    3. Type this command and press Enter:
        "c:\Program Files (x86)\jetvideo\Jetvideo.exe"  "c:\MyVideos\clip.mp4"
        (you must adjust the stuff in italics to reflect the actual name and location of your player)

    What exactly happens after you press Enter? Can you type things immediately in the black screen or are you prevented from typing until the clip has finished playing?

    Wednesday, November 13, 2013 11:13 AM

All replies

  • You could put this batch file into the Startup folder:

    @echo off
    set Videos=d:\Startup Videos
    for %%a in ("%Videos%\*.avi") do set Video=%%a
    "%Video%"
    del "%Video%"

    If you put your video files into the folder d:\Startup Videos then one of them will play each time you log on. it will then be deleted. Change ".avi" to the correct extension of your video clips.

    Tuesday, November 12, 2013 10:49 PM
  • thank you very much sir!!

    Ok i'll try to do it and i'll tell you if it success!

    Tuesday, November 12, 2013 11:06 PM
  • You could put this batch file into the Startup folder:

    @echo off
    set Videos=d:\Startup Videos
    for %%a in ("%Videos%\*.avi") do set Video=%%a
    "%Video%"
    del "%Video%"

    If you put your video files into the folder d:\Startup Videos then one of them will play each time you log on. it will then be deleted. Change ".avi" to the correct extension of your video clips.

    Ok sir it's working very good the file was deleted, but I don't want it to be deleted in the same time windows start, I want the video to play first, when it's finished then it could be delete him self!

    or what do you think or I'm wrong!?

    Wednesday, November 13, 2013 3:29 AM
  • if you don't mind sir, explain the batch?
    Wednesday, November 13, 2013 3:37 AM
  • or what do you think or I'm wrong!?

    What type of clip is it? .avi? .wmp? other?
    Which program do you use to play the clip?

    Wednesday, November 13, 2013 6:26 AM
  • or what do you think or I'm wrong!?

    What type of clip is it? .avi? .wmp? other?
    Which program do you use to play the clip?

    1- mp4

    2- i'm using jetvideo player!

    so is there any diffrent between the player to be working !?

    Wednesday, November 13, 2013 10:38 AM
  • or what do you think or I'm wrong!?

    What type of clip is it? .avi? .wmp? other?
    Which program do you use to play the clip?

    1- mp4

    2- i'm using jetvideo player!

    so is there any diffrent between the player to be working !?

    Let's assume that you have a file called clip.mp4. I would like you to perform this test:

    1. Click the Start globe, then type cmd.exe in the Search box and press Enter.
    2. Type this command and press Enter:

        "c:\MyVideos\clip.mp4"

    What exactly happens after you press Enter? Can you type things immediately in the black screen or are you prevented from typing until the clip has finished playing?

    3. Type this command and press Enter:
        "c:\Program Files (x86)\jetvideo\Jetvideo.exe"  "c:\MyVideos\clip.mp4"
        (you must adjust the stuff in italics to reflect the actual name and location of your player)

    What exactly happens after you press Enter? Can you type things immediately in the black screen or are you prevented from typing until the clip has finished playing?

    Wednesday, November 13, 2013 11:13 AM