Open file with application Batch Script [closed] - batch-file

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I have a simple problem. I am writing a batch script that needs to run a file with a specific application. With the unfamiliar file extension I am using, it will prompt what app to open the file with, but I want this to be automated.
My current code is just start /wait example.idk
Help would be much appreciated

You can explicitly start the 'specific application' with the 'example.idk' as parameter. Something like: start /wait "specific program" "PathToSpecificProgram\specific application.exe" "example.idk"

Related

how to make batch file and make commands to execute step by step [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
Improve this question
I have to make batch file which execute with run
echo on
start cmd
adb devices
adb root
and more so how to run them
need a program so I can make some commands

Batch that triggers after a certain time has passed after another batch has been executed [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
Improve this question
I want to make a batch trigger after for example 2 hours another batch has been used.
I tried task scheduler > trigger on event; log: application, source : add the path of the batch.
But nothing happens. What am I missing ?

Im making a bat file ment to be opened with another file how would i get the file? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I am going to make a code that I open with another file through the operating system i will do so by right clicking it and clicking open with then selecting my code this code will be a bat file and i need to get the path of the file it was opened with so is there a way i could do this and if so how would I? I'm compiling my go code files with this so the code should look something like this
set file = (Gets the file and path here)
go run file
is this even possible? and if i need to do this in another language what would that be
I fortunately enough found my answer so this is the code to run.
#echo off
echo %1
cmd /k

Batch File SIP ALG test [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
The below line has a program that runs like a batch file.
I'm needing to create something similar that can run as just a batch file to
test for SIP or ALG.
https://kb.iplogin.ca/hc/en-us/articles/360003299092-Prepare-Your-Network-for-Phones-line-test-ports-and-protocols-
I work at for a Telecommunications company and it would be a great tool for us to use. - Many thanks
There are plenty of such tools exists. For example http://sipp.sourceforge.net/
No point write just enother tool.
Just create scenario for sipp and check out result.

Read and rename a file from a folder in C [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to make a program that reads the name of a (.mp3) file from a folder and then re-name it. I want to know how to do so.
Please give me an example on how to read a (.mp3) file name and save it, and also point to me things that I should know to make this program.
I'm on windows and using VS2013.
You might like to use the rename() function.
To scan a directory you can use a combination of FindFirstFile() and FindNextFile() calls.

Resources