Open app in cmd in specific task view

  1.    #1

    Open app in cmd in specific task view


    I am trying to open apps in command line and I want it to open in a specific task view.
    Is this possible?
      My ComputerSystem Spec

  2. bro67's Avatar
    Posts : 5,853
    Mac OS High Sierra 10.14.3 Beta (18D21c)
       #2

    kimondoe said: View Post
    I am trying to open apps in command line and I want it to open in a specific task view.
    Is this possible?
    Why go to all of that work.
      My ComputerSystem Spec

  3.    #3

    bro67 said: View Post
    Why go to all of that work.
    I have this .bat file that opens up apps and that .bat file is run on startup
    I also want the apps to be opened in a specific task view.
      My ComputerSystem Spec

  4. bro67's Avatar
    Posts : 5,853
    Mac OS High Sierra 10.14.3 Beta (18D21c)
       #4

    kimondoe said: View Post
    I have this .bat file that opens up apps and that .bat file is run on startup
    I also want the apps to be opened in a specific task view.
    It depends on if the app allows for flags. Windows Apps are not designed to be really user friendly by design. Placing shortcuts in the Start folder will allow them to run, vs one huge bat file that you could end up having programs not always run if there is not a delay or specified to have the batch file go back and attempt to run the program if it will not on first start.
      My ComputerSystem Spec

  5.    #5

    bro67 said: View Post
    It depends on if the app allows for flags. Windows Apps are not designed to be really user friendly by design. Placing shortcuts in the Start folder will allow them to run, vs one huge bat file that you could end up having programs not always run if there is not a delay or specified to have the batch file go back and attempt to run the program if it will not on first start.
    hmm.. let's just assume the app runs successfully using the .bat file and want to transfer the app to another task view. Is there a command in command line that transfers an app to a specific task view?
    and I am not talking about command line options of a windows app.
    Just plain command in command line.
      My ComputerSystem Spec

  6. Berton's Avatar
    Posts : 5,875
    Win10 Home and Pro, Win10 Insider Preview, WinXP Home Premium, Linux Mint
       #6

    Instead of the Command Prompt maybe a script in PowerShell would work? I think there's a several-part of a Tutorial about PowerShell uses.
      My ComputerSystem Spec


  7. Posts : 150
    Windows 10 Pro/Education x64
       #7

    I'm not sure I understand the OP's query. Does the OP want the apps to open on one virtual desktop and not the other provided the OP has at least two virtual desktops running? Or is the OP trying to have task view open upon startup so he can view the open apps that also run from the .bat file?
      My ComputerSystem Spec

  8.    #8

    Berton said: View Post
    Instead of the Command Prompt maybe a script in PowerShell would work? I think there's a several-part of a Tutorial about PowerShell uses.
    As Berton said, to get you started have a look here;
    Script Powershell commands to manage virtual desktops of Windows 10
      My ComputerSystem Spec

  9.    #9

    titetanium said: View Post
    I'm not sure I understand the OP's query. Does the OP want the apps to open on one virtual desktop and not the other provided the OP has at least two virtual desktops running? Or is the OP trying to have task view open upon startup so he can view the open apps that also run from the .bat file?
    At startup, I already have 3 task views opened.
    So I want .bat file to start my apps and I want it to be opened on a specific task view.

    But if it is not possible on .bat, I'll look into powershell as suggested.
      My ComputerSystem Spec


 

Related Threads
Hey all, I have been working on trying to shutdown about 21 lab computers everyday at 11pm through scheduled task with a shutdown script which is as simple as: REM Shutdown computers at 11;%windir%\system32\shutdown.exe /s /f /t 0 /c...
Hello, I want to save the View settings for a certain document to show the two pages side by side. Check out the attached picture. I press View > Multiple Pages to have them sit side to side and save the document. (Notice how the zoom setting...
HI I was wondering if anybody knew of a way to show a particular app on all virtual desktops. I have a password manager that interacts with any window that requires a password and I dont want to have to move it every time I have a window that...
How to Open and Use Task View for Virtual Desktops in Windows 10 Windows 10 introduces a new feature called Task View. Task View is a virtual desktop manager that allows you to quickly switch between all of your open apps on multiple desktops....
Solved Task View in General Support
In the bottom bar is three windows labelled tasdkbar; two small bigger one in middle. When I click on it it shows another version of my desktop, but minus icons. What is the function?

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:36.
Find Us