Questions tagged [directory]
A directory or folder is a container within a digital file system, in which groups of computer files and other directories can be kept and organized.
directory
19,611
questions
0
votes
0
answers
6
views
Get-childitem is changing TypeName System.IO.DirectoryInfo to System.Management.Automation.PSCustomObject: How to prevent?
Goal of this script?
Need to delete big SQL dump files remotely.
When script is launched, we need to click on ok while parent folder is selected/highlighted.
After then we need click on ok so that we ...
0
votes
0
answers
12
views
Password protected on compressed Zipped folder using dotnetzip library
I am trying to add a password using DotNetZip, but it's setting the password on the individual files inside the compressed folder, not on the main compressed folder itself. Could you suggest a free ...
0
votes
2
answers
30
views
How to move a specific number of files into a newly created incremental folder
I am trying to create a script that will create a folder let's say folder1, folder2, folder3, etc. And will then move the first 5 files into folder1 and then the next 5 into folder2 so on and so forth....
-1
votes
1
answer
59
views
Why do I get a FileNotFoundException when the file obviously exists?
I have a piece of C# code in which I try to list some files from a directory. When listing the files I get a FileNotFoundException (which is not caught yet), but I don't understand why...
try
{...
-1
votes
0
answers
34
views
How to create directory using part of long file name and move all files with that part of file name into directory [closed]
I have named my files as follows :
01 - Jan 04, 2020 - 102513
01 - Jan 04, 2020 - 102611
01 - Jan 04, 2020 - 102840
01 - Jan 06, 2020 - 183022
01 - Jan 06, 2020 - 195230
What I want to do is create a ...
0
votes
1
answer
13
views
Moving a project from one folder to a subfolder
I've built a react app in VsCode and after a while wanted to put it in a subfolder of the folder it's currently in, but after I've put it inside the subfolder everytime I've tried to run it I get an ...
-5
votes
1
answer
39
views
bash - renaming multiple folders using an excel sheet [closed]
I am trying to automatically rename several folders with temporary names ("634832483hdgfds") based on a list of real IDs I have been given (each real_name corresponds to one of these "...
1
vote
2
answers
26
views
How to make an alias's command for changing directories work for all users without changing the path for every user
I've made a script in "/etc/profile.d/" that creates aliases upon login. However, all the commands work with only my user's directory. For example, if I have 3 users: Bob, Dan, and Nat, the ...
0
votes
1
answer
28
views
Why does only right click work for my folders to use Git Bash?
Why can I right click folder to open in git bash but the same folder gives me "no such file or directory" when I start git bash first then look for it? When I'm on my desktop folders that ...
0
votes
0
answers
16
views
DirectoryInfo on Simulated file system
I realy like DirectoryInfo class that C# provides
I use it to create, delete, list files like this
using System.io;
static class Program
{
/// <summary>
/// The main entry point for the ...
0
votes
0
answers
19
views
Why am I getting an error when I pull a fetchDir function?
I have written this piece of code where I listen to a function in the frontend and then pull 2 function when it is called here are the 2 functions.
Here is where we listen to the frontend:
socket....
0
votes
0
answers
16
views
Is it ok to replace image files in the system32 folder with other image files
I want to get custom system icons, to do this i expect you would replace files in the system32 folder. I want to replace the icons on the taskbar with "cooler" ones, so I found them in c:\...
-3
votes
0
answers
14
views
where are photos, taken in browser app camera, stored?
i took 4 photos for rentacar company,directly to their browser app and uploaded them.is there any possibilty, that they are stored somewhere in my mobile phone
?android redmi note 11,thank you
some ...
2
votes
1
answer
40
views
App Crashes Whenever Trying To Read File Saved Into Internal Storage In Android application
I'm trying to create a simple android application where value from a text field is saved into a file and is then later displayed on screen in a text composable on a button press, however the ...
1
vote
0
answers
31
views
Directory Review to find files that may have File Length Issues: Get-ChildItem exceeding Path limit 260 characters
I'm trying to build a log with filepaths to items on our server that exceed 255 characters. This script works to log items as high as 351 Characters. (I have no idea how an employee was able to save ...