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 5 years ago.
Improve this question
My task here is to pin two shortcuts to the taskbar by batch script.
I have a script adapted from here, creating two shortcuts in %APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\, and it works well. Unfortunately my taskbar doesn't notice them being created and therefore doesn't show them.
How do I tell the taskbar to update itself, adding those shortcuts?
It's about Win10 PCs.
Edit: I tried it with pinnerjs.bat, it seems there is a strange problem: Its contextmenu doesn't see the same items as my contextmenu. Made pictures to illustrate. The item I need executed is "An Taskleiste anheften", the one directly below "Edit with Notepad++".
I can live with using pinnerjs if we get it to work, but I'd prefer a more direct solution (telling the taskbar to add the shortcuts in its folder).
Edit 2: Tried changing the pinnerJS script from saying "taskbar" to the german "taskleiste" - didn't work.
Try with pinnerjs.bat :
call pinnerjs.bat C:\Windows\System32\cmd.exe taskbar
Not sure how it will work with shortcut. Probably it will be better to directly pin the executable.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I need run more than one programe by the Run in windows
your can show it if you click
the Windows logo key+R.
i need 2 programe ex: cmd and regedit
thanks :)
For instance, cmd /c start "" write&start "" notepad&start "" iexplore under WinLogo+R dialog runs
write.exe - WordPad document editor
notepad.exe - plain text file editor
iexplore.exe - Microsoft Internet Explorer browser
Edit: disadvantage. In fact, above method
needs to use unhandy notation with cmd /c, multiple start "", multiple &
and flashes command line window shortly.
However, anyone can write a primitive program which would simulate that WinLogo+R dialog (e.g. in C# or even in such simple language as VBSript) with above handicap eliminated.
For instance, Guidelines for Keyboard User Interface Design gives some hints, e.g. for designing shortcut keys as well as list of (commonly used)
System-Wide Shortcut Keys,
System-Wide Accessibility Options and Tools Shortcut Keys (incomplete),
General Shortcut Keys for Applications,
Navigation and Window Controls Shortcut Keys,
Menu Controls Shortcut Keys,
Edit Box Shortcut Keys,
Dialog Box and Common Controls Shortcut Keys,
Windows Explorer Shortcut Keys,
Microsoft Office XP Shortcut Keys.
Further resources (cmd related reading):
(command reference) An A-Z Index of the Windows CMD command line
(additional particularities) Windows CMD Shell Command Line Syntax
(& etc. special page) Redirection
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 8 years ago.
Improve this question
Is it possible to pass a variable in along with a Windows input box for filename? I'd like the variable to be the current date. The best way I can describe this is..think of the window that comes up whenever you choose "SAVE AS" in Windows. In addition to typing out the name of the file that I want, I also want the current date with the filename; I don't neeed it formatted in any an exact way. I just need the current date as part of the filename.
You may not need to do anything. After the file-save-as dialog box returns, it returns the file name selected by the user. You can do whatever you want with that file name before actually saving it to disk.
But if you need to do a customization in place while the dialog is visible, I think you want a Windows common dialog box extension. This is a code hook that allows you to customize the standard Windows file open (or file save) dialog within your own code.
The most obvious example of a file open dialog extension is the one written for Notepad. From the File menu in Windows Notepad, select, "Open... or "Save...". You can see the "Encoding" combobox at the bottom of this dialog.
Your dialog extension can basically hook most of the events while the file-open dialog box is open. You can add additional control, get notified of when buttons are getting pressed, open/close notifications, and I think you can override the filename selected as well.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I using cmd actively for creating/testing shell command and I'm interested how to allow standard text operation hotkeys like ctrl + c, ctrl + v, selecting via shift + arrow.
Is it possible and how to do that?
With Console you can configure the hotkeys for copy and paste. I'm not aware of a way to enable selecting via Shift + cursor keys, though.
Why you don't try with "PowerCMD" you have plenty of shortcuts with that program.
PowerCmd is a better command prompt replacement tool that enhances your command prompt with an easy-to-use Windows GUI interface and allows you to run multiple command consoles simultaneously in a tab-based windows.
It has many features i'm positive you are going to find it useful.
Greetings.
Copy and paste in a command window is made slightly easier if you enable QuickEdit mode (in Properties/Options). This means that you can make the selection by dragging with the mouse without having to do Edit -> Mark first. Once you've done then there's one keystroke worth memorising:
alt-space E P
This will open up the window menu and choose Edit -> Paste. I use this so much that it's now quite natural to me. The Console app that Ansgar recommends does make this easier, but if you need to use the regular cmd.exe then this trick works well.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm using MacOS Lion 10.7.2.
Whenever, I use the command man, the terminal show the waring as the image below. It ask me press RETURN to continue.
After that, I navigate the content by press RETURN key (the carriage-return key). It only go forward the content line by line. I can't:
show all the content or go forward the content page by page
go back the content
Please help me. What is the short cuts? Thank you!
EDIT:
when I run: echo $TERM, it shows:
xterm-256color
My problem is: When the Terminal is showing the content of the command (man [command]):
Press ENTER to move down
how to move up?
You should be able to fix this by properly setting the terminal type in the settings for the OS X Terminal.app. Open the application's Settings window, select the Startup tab and note which settings group is being used, select the Settings tab and then the settings group noted, select the Advanced tab, and make sure the terminal type (Declare terminal as:) is set to something appropriate, like xterm-256color. Then open a new terminal window and enter:
echo $TERM
If the terminal type value displayed is not the one you chose, examine your shell profile files to ensure they do not contain a line that modifies the TERM variable. If your default shell is bash, the default files to check are .bash_profile and any files referenced from within it.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Sometimes I get this error message when trying to move, rename, or otherwise manipulate some files or folders on my computer...
Destination Folder Access Denied You need permission to perform this action http://img222.imageshack.us/img222/1581/destinationfolderaccessms9.jpg
What do I need to do to gain control?
don't listen to vista, it tells lies!!!
I had this problem, and could not resolve it by running as admin, taking ownership (I was already owner) etc. turned out the problem was that another process (textpad) had a file open deep underneath the directory I was trying to rename. the error message was completely misleading, the problem was a file open for write, nothing to do with security permissions.
AAaaarghhhh!!!!
Take ownership of the folders and files...
Right-click the folder that you want to take ownership of, and then click Properties.
Click the Security tab, click Advanced, and then click the Owner tab.
Click Edit. If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Click the name of the person you want to give ownership to.
If you want that person to be the owner of files and subfolders in this folder, select the Replace owner on subcontainers and objects check box.
Click OK.
use unlocker to know who locked it.
You may get this error when one of the files contained within the folder may in in use by a running program.