question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lab6: Command for removing directory leads to an error

See original GitHub issue

Module: 6

Lab: 6, Exercise 2

Exercise 2, task 1

Step: step 3

Description of issue The command rmdir .\obj /S /Q returns following error Remove-Item : A positional parameter cannot be found that accepts argument '/S'.

Fix:

using a native PS command e.g. Remove-Item -Path .\obj -Force -Recurse OR removing the folder manually in explorer.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bechynskycommented, Mar 18, 2022

Instructions are confusing. See screenshot.

az204l06e02t01
0reactions
JeffKoMScommented, Apr 14, 2022

Changing the directions so it instructs students to open the Windows Terminal to help avoid confusion.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deleting or removing directories (rmdir command)
Use the rmdir command to remove the directory, specified by the Directory parameter, from the system.
Read more >
Can't remove a directory in Unix
In my case, under root, rm -rf (directory) leads to an infinite loop, and size of the folder is under a gig. Furthermore,...
Read more >
Delete files in directory without erroring if it's already empty
Since you presumably want to remove all files without prompting, why not just use the -f switch to rm to ignore nonexistent files?...
Read more >
How to Remove a Directory in Linux – Delete a Folder ...
You use the rm command to delete files and directories in Linux. ... You will get this error: rm: test: is a directory....
Read more >
Why I can't delete a folder?
Try cd into the directory, then remove all files using rm -rf * . Then try going out of the directory and use...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found