Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 days ago.
This post was edited and submitted for review 5 days ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I want to use batch to copy a shortcut from one file path to another, but batch can never find the shortcuts.
I want to run this command in any way:
copy "%CD%\Shortcut" "%UserProfile%\"
but it never finds the shortcut.
I have tried deleting the Microsoft Edge shortcut on my desktop just to see if batch can do anything with shortcuts, but it can't find the shortcut.
del "%UserProfile%\Desktop\Microsoft Edge"
I also tried '.Ink', because it popped up everywhere on Google:
del "%UserProfile%\Desktop\Microsoft Edge.Ink"
That also didn't work.
But when making a file called "file.txt" on my desktop, this command did delete it:
del "%UserProfile%\Desktop\file.txt"
What am I doing wrong? I have tried everything, googled for hours, and found nothing. I have tried the same thing multiple times to ensure there are no spelling errors.
EDIT:
Tried using ".lnk", lowercase L. Still did not work:
The row deleting "text.txt" did work, while ".lnk" didn't.
Related
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 3 years ago.
Improve this question
If I try to change directory inside the Windows 10 command prompt to a hidden system folder, even if I run as administrator, I get an Access is Denied message.
Example:
cd C:\Windows\System32\config\system
When I type in: dir /a
the folder is shown
I could take ownership of the folder, but I can't help but think there is a better way.
On my Windows 10 machine, "system" is a file, not a directory. cd to c:\Windows\System32\config instead.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
After installing lots of gems and exporting path in my OS 10 bash appears to be messy and show lots of error. How do I clear these error.
how can i clear this
I think the problem is that source <smth> is on the same line as the if construct.
Open .bash_profile in any text editor, find line 22, press Enter after fi and then save the file.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
This has been flagged as a duplicate but the solution described in the possible duplicate is what I have tried and it did not work for me.
I installed OCaml and the installer said to add /Users/me/ocamlbrew/ocaml-4.02.3/etc/ocamlbrew.bashrc to my .bashrc file I did so and it doesnt seem to help.
I have to run /Users/me/ocamlbrew/ocaml-4.02.3/etc/ocamlbrew.bashrc on every new terminal window before I can use Ocaml as a command. What can I do to avoid this?
This is what I tried:
alias ocaml = source /Users/me/ocamlbrew/ocaml-4.02.3/etc/ocamlbrew.bashrc
I also tried
source /Users/me/ocamlbrew/ocaml-4.02.3/etc/ocamlbrew.bashrc
I've tried editing my ~/.bashrc file and my ~/.bash_profile
I ended up adding source /Users/me/ocamlbrew/ocaml-4.02.3/etc/ocamlbrew.bashrc to (the installer lied about where to do this) my ~/.bash_profile and then calling source ~/.bash_profilefrom the terminal.
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 8 years ago.
Improve this question
I have run msconfig and select safe mode in minimal option. After restarting, it keeps on loading repeatedly. I have tried to select Last Known Configuration but it returns back on loading. I could not log on and disable the safe mode in minimal. There is one option, to repair it . If I choose to repair Windows, will it go back to normal mode?Are all files still intact even if I proceed to repair it? I never had tried this option. Please help me. Are there any options other than repairing Windows to go back in normal mode?
thank you.
It seems like your facing a thing called infinite loop. This is probably caused because your bootmanager file is corrupted. You can try fixing it by using the link that opens when you click bootmanager in the previous sentence (requires some knowledge of Windows).
If you want to learn more about the bootmanager (and how it works) click here. Although you should only read it when you are interested in fixing it manually (requires some knowledge of Windows).
To answer your original question, whenever you select an option from the start-up repair screen that will remove some of your personal files it will tell you before deleting anything.
I've also faced this problem (it wasn't really the same as yours, but there are multiple issues that are called infinite loop as they are caused by the same error). I've ended up re-installing Windows. The good thing of Windows 7 is that whenever you re-install Windows it will ask you if you want to keep your old files, if you decide to keep the old files the installer will automatically add a folder to you main drive (usually C) named Windows.old which will contain your old data. Note that documents, your desktop and pictures etc. are saved, your Program Files directory will be copied to, but you will probably need to re-install all your programs. But in the end, you will keep your documents.
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 8 years ago.
Improve this question
I'm sitting here pulling my hair out trying to find a way to open the same project in two different XCode windows. Is there a way to do this? I want to be able to edit one file with another file on a separate monitor. So far everything I've tried just brings me back to the XCode I already have open.
And two seconds later, I clicked File > New > Window. That did it.
You can also drag a tab out of the tab-bar and release the mouse. The tab will become a new window.
And to offer a third choice... double clicking does the job for me, too.