Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

process management: process in foreground

  • Καμία απάντηση
  • 1 έχει αυτό το πρόβλημα
  • 1 προβολή
more options

Is there a way to keep the firefox process in foreground? I'd like to write a .CMD script which opens a file location where the profiles are stored (a VHD file), mount it, and then launch it with the profile stored up there, something like:

start "firefox" /W "C:\Program Files\Mozilla Firefox\firefox.exe" "-foreground -profile ""%driveletter%\%ffprofile%"""

...but firefox always forks to background. I do not want that, as this batch script needs to close the VHD file after firefox process completes.

How do I keep the process in foreground?

Is there a way to keep the firefox process in foreground? I'd like to write a .CMD script which opens a file location where the profiles are stored (a VHD file), mount it, and then launch it with the profile stored up there, something like: start "firefox" /W "C:\Program Files\Mozilla Firefox\firefox.exe" "-foreground -profile ""%driveletter%\%ffprofile%""" ...but firefox always forks to background. I do not want that, as this batch script needs to close the VHD file after firefox process completes. How do I keep the process in foreground?